[C++-sig] pybindgen: allow_subclassing option causing reference parameters to be copied?

Gustavo Carneiro gjcarneiro at gmail.com
Wed Jul 8 12:07:09 CEST 2009


2009/7/8 J. Michael Owen <mikeowen at llnl.gov>

> Hello Gustavo,
>
> I have some further evolved changes for the sequence methods that you may
> want to use over my previous version.  This is more general, and involves
> less code as I realized I could register the sequence methods to just call
> the wrapped methods pybindgen is already providing.  This also  also
> corrects a bug I had with exposing containers of pointers.  Since this code
> is more general and smaller, it seems like an improvement over what I gave
> you before.
>
> I'm also including some minor extensions to your name mangling code in
> utils.py here, which I found necessary 'cause I'm using templated functions
> with things like "add_function_as_method".
>
> These changes are current with your latest Bazaar branch, and I've verified
> that all tests are passing.  There are three altered files I'm including
> here: cppclass.py, pytypeobject.py, and utils.py.
>

Pushed these changes, with memory leaks fixed.

Thanks.


>
> Mike.
>
>
>
>
>
>
>
> On Jul 7, 2009, at 8:27 AM, Gustavo Carneiro wrote:
>
>>
>> I just pushed your merged contribution with some fixes and unit tests to
>> bazaar trunk.
>>
>
>


-- 
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20090708/f85e9e83/attachment.htm>


More information about the Cplusplus-sig mailing list