Re: [C++-sig] why am I getting a Boost.Python.ArgumentError?

2009-08-25 Thread Tom Haynes
Fixed it. The self.geometry came from a list of Geometrys, which in C++ was a std::vector. I had used the vector_indexing_suite to wrap this list, but forgot to include the "true" as the NoProxy template parameter (since they're boost::shared_ptrs). -tom On Mon, Aug 24, 2009 at 5:27 PM, Tom Ha

[C++-sig] Trouble optimizing Boost.python integration

2009-08-25 Thread Dan Sanduleac
Hi, I'm trying to compare different python-C wrapping techniques to see which would be faster and also more suited to game development. I'm using Stackless Python 2.6.2 and boost 1.39.0. I implemented a simple Vec3 (3D vector) class in C++ and wrapped it with boost:python. All it does is multip