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.
Mike.
patched_files.tbz
Description: Binary data
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.
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig