Calling C Function Pointers from Python
Neil Hodgson
neilh at scintilla.org
Sat Jul 29 02:07:48 EDT 2000
> I am currently in the middle of hooking up a large external C++ library by
> maintaining a database of C++ function pointers that I will call from
Python.
> If anybody has tried this before, my question is: Is there a good way to
call
> these function pointers without having to wrap every single one in a
Python-C
> module? The only package I know of that might do this job is libffi, but
it
> only runs on Unix, not on Windows.
Sam Rushing's calldll/windll can call arbitrary function pointers from
Python.
http://www.nightmare.com/software.html
No type checking, no safety, no warranties.
Neil
More information about the Python-list
mailing list