Re: Boost.Python create extra functions not in wrapped object

2007-04-19 Thread Roman Yakovenko
On 4/19/07, Stou Sandalski <[EMAIL PROTECTED]> wrote: Thanks for the reply, That is what I am doing now, the problem is that I need the code to be in C/C++ inside the wrapper. I am creating a lot of these objects and each time I am iterating over ~1.4 million points... and in python it's quite

Re: Boost.Python create extra functions not in wrapped object

2007-04-19 Thread Roman Yakovenko
On 19 Apr 2007 00:37:36 -0700, Stou Sandalski <[EMAIL PROTECTED]> wrote: Hi, I have a python library created by wrapping the C++ library using Boost.Python, the problem is that the wrappers are not very pythonic so I want to add some methods that do not exist in the C+ + implementation, tha

Boost.Python create extra functions not in wrapped object

2007-04-19 Thread Stou Sandalski
Hi, I have a python library created by wrapping the C++ library using Boost.Python, the problem is that the wrappers are not very pythonic so I want to add some methods that do not exist in the C+ + implementation, that would create a better Python interface. For example to initialize the dat