[C++-sig] [Py++] wrapping boost python types fails

2009-05-30 Thread Werner Joergensen
I narrowed down a failure with pyplusplus to this short example: -8< test.hpp - #include "boost/python.hpp" ->8- -8< generator.py - import os from pyplusplus import module_builder mb = module_builder.module_builder_t( files=["test.hpp"],

Re: [C++-sig] [Py++] incomplete type and forward declaration

2009-05-30 Thread Roman Yakovenko
On Fri, May 29, 2009 at 1:20 PM, Werner Joergensen wrote: > > How can I process such a file classA.hpp using a code generator like > http://www.language-binding.net/pyplusplus/documentation/tutorials/module_builder/generate_code.py.html? > > --8< classA.hpp -- > class B; > > class

Re: [C++-sig] [Py++] wrapping boost python types fails

2009-05-30 Thread Roman Yakovenko
On Sat, May 30, 2009 at 11:53 PM, Werner Joergensen wrote: > > I narrowed down a failure with pyplusplus to this short example: > > -8< test.hpp - > #include "boost/python.hpp" > ->8- > > -8< generator.py - > import os > from pyplusplus import module