[Cython] Creating python bindings for C library using Cython

Amit Sethi amit.pureenergy at gmail.com
Mon Jun 1 15:38:54 CEST 2009


hi ,
I guess this needs to go on cython-users but i did not see any such mailing
list so I am posting it here ,
I am trying to create python bindings for a library written in C ,
But I am wondering as to how I am suppose to handle pointers.

For example

for the C function,
int * analyse_row (int length, unsigned char *data),


Now in this function call how am i supposed to handle *data , can i pass a
string in place of *data ., Also please guide be to some projects that use
Cython for binding with C
-- 
A-M-I-T S|S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/cython-dev/attachments/20090601/56a66e9e/attachment.htm 


More information about the Cython-dev mailing list