Re: [pygccxml-development] problem with an array of pointers
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2008-07-10 06:07:11
|
On Thu, Jul 10, 2008 at 3:06 AM, Gordon Wrigley <gor...@gm...> wrote: > on http://language-binding.net/pyplusplus/documentation/how_to/how_to.html I > believe the following code: > > registration_code = 'def( "get_size", &%s::get_size )' % > window.wrapper_alias > > mb = module_builder_t( ... ) > window = mb.class_( "window_t" ) > window.member_function( "get_size" ).exclude() > window.add_wrapper_code( wrapper_code ) > window.registration_code( registration_code ) > > should instead read > > mb = module_builder_t( ... ) > window = mb.class_( "window_t" ) > window.member_function( "get_size" ).exclude() > window.add_wrapper_code( wrapper_code ) > registration_code = 'def( "get_size", &%s::get_size )' % > window.wrapper_alias > window.add_registration_code( registration_code ) > > and I now have the getName example working This your first contribution to the project :-) Thanks. I fixed it. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |