[C++-sig] Boost.Python embedding examples

Neb Naic niacneb at yahoo.com
Wed May 4 23:06:42 CEST 2005


Hello,

Assuming the Python code to embed is in it's own file.
 Does Boost.Python provide interface similar to:
   PyObject_CallObject
   PyTuple_SetItem

I couldn't find any Boost.Python examples that
encapsulate these functions.

Writing them in Python/C++ API is very tedious and
error prone.  I was told that Boost.Python does this
for you.  But, I can't find an example of this
anywhere.

Thanks,
   Niac


		
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html




More information about the Cplusplus-sig mailing list