Calling python from a C function that is embedded in python?
Greg Ewing (using news.cis.dfn.de)
ckea25d02 at sneakemail.com
Tue Apr 8 00:07:52 EDT 2003
VanL wrote:
> In short: I want python to be able to call wrapped functions like they
> are python functions, and a wrapped C library to call wrapped python
> functions like they were in C.
>
> Is there any way to do this?
Yes, there are ways of doing this. I have a demo showing
how to do it with Pyrex, but I don't have it here right
now. I'll try to remember to let you know when I've
posted it somewhere.
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list