On 2/17/07, Gustavo Carneiro <gjc...@gm...> wrote:
> Nevermind; it seems that I need to call mb.build_code_creator(module_name)
> after removing the declarations, not before.
This definitely could help, but better is to use include\exclude functionality
of declarations:
Simulator = mb.class_('Simulator')
Simulator.decls().exclude()
Take a look on this example:
http://language-binding.net/pyplusplus/documentation/tutorials/module_builder/generate_code.py.html
Also you can remove declarations, it is a bad practices. Py++ uses all
declarations
to verify that you create good and usable bindings.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
|