Callbacks/function pointers.

Jr. King n at n.com
Mon May 24 12:57:07 EDT 1999


I don't know how to ask this question, so let me tell you what I want.  I
want to be able to use c/c++ to call user defined functions in python
dynamically, like function pointers in c/c++.

python user sets the function, c/c++ saves the function*, when appropriate
c/c++ calls the python function.

Is it possible, if so could you show a small example showing both the c/c++
and python side.
Thanx






More information about the Python-list mailing list