I've successfully written a C library for Python. It's small obv as I only wrote it over a weekend but 

What I'm doing is along the same lines as @dimpase does here: https://github.com/dimpase/dyn/blob/master/m.pyx … which unless I am very mistaken is copying the data.
-
-
So copy it to a C-like array from a list/np array instead of sending a pointer to the list/np array. Is a pointer possible?
- 2 more replies
New conversation -
-
-
I think if you use numpy arrays they can be accessed from C directly. cf http://cython.readthedocs.io/en/latest/src/tutorial/numpy.html …
-
Aha! I will investigate! Thanks — you are so useful as always.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.