Python C wrapper question

Shi, Jue Jue_Shi at or.mxim.com
Fri Mar 24 17:18:38 EST 2006


Hello, Gurus,

I have a question on wrapping C function in Python.


My C code is like this:

typedef void (WINAPI *myCallBack) (unsigned int myarg1, unsigned int myarg2)

bool  myfunc(myCallBack callfunc)


Now I want to call myfunc in Python, what should I do? 


Thanks,
Stone



More information about the Python-list mailing list