[Numpy-discussion] Record Arrays and ctypes Interfacing

vel.accel@gmai... vel.accel@gmai...
Tue Mar 18 09:48:58 CDT 2008


Hi all,

How do I handle numpy record arrays (heterogenous dtype) with ctypes?
The python side is reasonably obvious to me, but I'm confused about
how to declare my C function's signature; whether I need to include
the numpy array interface header file or not... etc...

It's not obvious to me how a heterogeneous dtype is handled on the C
side. Could someone give me a quick and dirty example.

Thank you,
-dieter


More information about the Numpy-discussion mailing list