Here we can pass either scalars or array. For this I have created a struct like this in cdef: |
|
but when I am passing float I am not able to receive it's value in C.
going on. In general I am looking for a solution that could work in given scenario. Cheers Prashant |
scalar = numpy.array(1, dtype=numpy.int32)
--
-- python-cffi: To unsubscribe from this group, send email to python-cffi...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/python-cffi?hl=en
---
You received this message because you are subscribed to the Google Groups "python-cffi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-cffi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.