Re: Python C wrapper question

2006-03-27 Thread Dave Mandelin
Shi, Jue wrote: > 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?

Python C wrapper question

2006-03-24 Thread Shi, Jue
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 -- http://mail.py