Re: [pygccxml-development] Finalizing a class?
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2006-05-17 17:11:48
|
On 5/17/06, Allen Bierbaum <al...@vr...> wrote: > This seems like something that should be made easier for the user. > > Perhaps something like: > > my_ns.class_("ClassA").finalize() > > class_a.member_function("my_method").finalize() > > Is there any reason pyplusplus can't provide a more simple interface > like this for the user? What should do pyplusplus if the only way to export declaration is to create some wrapper for it? For example class with pure virtual function: raise an error? create wrapper? try to export without wrapper and let to the user to understand what he did wrong? > -Allen > --=20 Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |