[C++-sig] ArgumentError when use the shared_ptr

2009-01-26 Thread ZaeX
Hi, c++-sig: I got a problem involving shared_ptr here, according to some threads here I believed it should be solved by implicitly_convertible, however after many tries, I still cannot make it work. although this problem may look old, I really need your help or hint. My environment is WinXP + pyt

[C++-sig] ArgumentError when use the shared_ptr

2009-01-26 Thread ZaeX
Hi, c++-sig: I got a problem involving shared_ptr here, according to some threads here I believed it should be solved by implicitly_convertible, however after many tries, I still cannot make it work. although this problem may look old, I really need your help or hint. My environment is WinXP + pyt

Re: [C++-sig] bindings size

2009-01-26 Thread Ralf W. Grosse-Kunstleve
Are you wrapping many trivial (member) functions? - Original Message From: Renato Araujo To: Development of Python/C++ integration Sent: Monday, January 26, 2009 6:16:59 AM Subject: Re: [C++-sig] bindings size I'm already using this. This help but I need reduce more because the pytho

Re: [C++-sig] Pickle an enum from c++

2009-01-26 Thread Matthew Scouten (TT)
I ran the enum unit test that came with boost. I got the same error that I got from my own example. (just on the pickle stuff. The rest passed.) I am using 1.34.1, because that is the version of boost that the library-to-be-wrapped is on. Obviously, either my version of boost is broken, or somethi

Re: [C++-sig] bindings size

2009-01-26 Thread Renato Araujo
I'm already using this. This help but I need reduce more because the python binding is about four times bigger then c++ library. Thanks On Sat, Jan 24, 2009 at 11:13 AM, Niall Douglas wrote: > Have you tried -fvisibility=hidden on GCC? That chomps a good few > megabyte off my bindings. > > Cheer