5 Feb
2009
5 Feb
'09
12:27 a.m.
On Wed, Feb 4, 2009 at 12:19 PM, Germán Diago
Hello. I'm trying to embed python to an application. I did that with success and I'm using boost.python to make some bindings to my API.
What I would like, is that the interpreter has access to my objects at runtime, namely, I don't want to create objects from python code but to use the c++ objects, created in my c++ application, from python (and I have wrappers for those in boost.python).
If you're not limited to using Python, Lua has a very flexible binding system. It has a userdata type that can be made to access C/C++ data members or functions. Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode