On Wed, Apr 14, 2010 at 5:15 PM, vishal bayskar > Thanks Roman for
your guidance, I have studied the example and also
> succesfully used it in python script.
> My next doubt is how did you generate the binding.cpp, becouse I also tried
> to generate this binding from classes.hpp file by below py++ code.
> ----------
> mb=module_builder.module_builder_t(["classes.hpp"])
> mb.build_code_creator(module_name = 'custom_sptr')
> mb.write_module('binding.cpp')
> ------------
> It has produced little different binding.

Right, because you have to "configure" py++ to produce such code. You
can take a look on PyOgre project, as it does this.

-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to