[Numpy-discussion] Record Arrays and ctypes Interfacing

2008-03-18 Thread vel . accel
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

Re: [Numpy-discussion] Record Arrays and ctypes Interfacing

2008-03-18 Thread Robert Kern
On Tue, Mar 18, 2008 at 9:48 AM, [EMAIL PROTECTED] wrote: 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

Re: [Numpy-discussion] Record Arrays and ctypes Interfacing

2008-03-18 Thread vel . accel
On Tue, Mar 18, 2008 at 2:18 PM, Robert Kern [EMAIL PROTECTED] wrote: On Tue, Mar 18, 2008 at 9:48 AM, [EMAIL PROTECTED] wrote: 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