[C++-sig] [Py++] RuntimeError: `Py++` is going to write different content to the same file

2009-08-07 Thread Razvan Yorik
Hello, I have a problem wrapping the following header file using Py++. The class "Derived" defines a local typedef "Helper" which has different meanings for each template parameter "T". Wrapped header: -- test.h -- #ifndef TEST_H #define TEST_H template class Base{ public: };

Re: [C++-sig] [Py++] RuntimeError: `Py++` is going to write different content to the same file

2009-08-07 Thread Roman Yakovenko
On Fri, Aug 7, 2009 at 12:27 PM, Razvan Yorik wrote: > > Hello, > I have a problem wrapping the following header file using Py++. The class > "Derived" defines a local typedef "Helper" which has different meanings > for each template parameter "T". > > Wrapped header: > -- test.h

[C++-sig] How to correctly expose back shared_ptr-ed Python object to C++

2009-08-07 Thread Nodir GULYAMOV
Hello All, I am trying to implement plug-ins system using BOOST Python but a little stuck. I've read documentation a couple of times and have feeling that missed something pretty simple. Below simplified version what I am trying to do: // abstract Base interface class class IBasePlugins { public: