[pygccxml-development] code generation changes
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2006-07-08 18:59:39
|
Hi. I just committed changes. Those changes have 2 goals: 1. To fix msvc 7.1 compilation bug. x.def( "__call__", ( void ( X::* )( int ) )( &X::operator() ) ); This code compiles fine with gcc, but could not be compiled with MSVC 7.1 2. To improve generated code readability: The previous statement will be generated like this: typedef void (X::*function_ptr_t)( int ); x.def( "__call__" , function_ptr_t( &X::operator() ) , ... ) Sorry for inconvenience, but I think those changes are absolutely necessary. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |