Python C wrapper question

Shi, Jue Jue_Shi at
Fri Mar 24 23:18:38 CET 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? 


More information about the Python-list mailing list