Re: [C++-sig] Uh-oh now I am trying boost python embedding

2009-06-25 Thread Stefan Seefeld
On 06/25/2009 04:52 PM, Simon Pickles wrote: However, what if I want to pass a c++ type to a python class? Is there some way to covnert my class, Logger in this case, to an bpy object, or some other way? Yes, and this conversion happens implicitly, by virtue of the converter that has been c

[C++-sig] Uh-oh now I am trying boost python embedding

2009-06-25 Thread Simon Pickles
Hi I've got an embedded python system up and running, for evaluation purposes. I am able to expose c++ modules to python, create c++ classes in python, and extract and use those python types in c++! Cool! However, what if I want to pass a c++ type to a python class? Is there some way to covn