[C++-sig] Exposing C++ data with Boost.Python

2010-01-09 Thread devin kelly
Hello, I'm trying to expose some data that I develop in C++ to python. Basically, the reverse of this sample code: #include #include #include #include int main(){ Py_Initialize(); object main_module = import("__main__"); object main_namespace = main_module.attr("__d

Re: [C++-sig] Exposing C++ data with Boost.Python

2010-01-09 Thread Stefan Seefeld
On 01/09/2010 01:52 PM, devin kelly wrote: Hello, I'm trying to expose some data that I develop in C++ to python. Basically, the reverse of this sample code: #include #include #include #include int main(){ Py_Initialize(); object main_module = import("__main__");