Hello everyone,

A very simple novice question: how can I determine the NumPy type that
Cython will agree to map to, say, the ordinary int type in C? I'm
wrapping a C function that accepts an int * argument, and I'm looking
for the appropriate NumPy type for a ctypedef statement. When I make
the obvious guesses, I see the same error message that someone else
describes here:

http://stackoverflow.com/questions/1944006/extending-numpy-with-cython

Mapping np.float64_t to a double * argument "just works", but integer
types seem to be trickier. Thanks for your help!

Zak
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to