calling Pyrex results from C

François Pinard pinard at iro.umontreal.ca
Tue Jan 20 19:18:15 EST 2004


[Kyler Laird]
> On Tue, Jan 20, 2004 at 12:27:33PM -0500, Fran?ois Pinard wrote:

> > There is some magic needed to establish Python context, not much.
> > Hoping that it will help, here is a template I use when generating
> > Pyrex main programs.

> Paul started me on this path and you've given me exactly what I need to
> keep going.

Good. :-)

There is also some linking magic, which differs from system to system,
it might be documented in the Python Embedding API, I'm not sure.  If
you do not stumble on the proper recipe, I'll share what I use on Linux.
Just ask if you want me to go search into some of my Makefiles :-).

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard




More information about the Python-list mailing list