Update of /cvsroot/pygccxml/source/pyplusplus/module_creator
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10876/pyplusplus/module_creator
Modified Files:
creator.py
Log Message:
fixing exposing functions
Index: creator.py
===================================================================
RCS file: /cvsroot/pygccxml/source/pyplusplus/module_creator/creator.py,v
retrieving revision 1.67
retrieving revision 1.68
diff -C2 -d -r1.67 -r1.68
*** creator.py 23 Apr 2006 14:39:00 -0000 1.67
--- creator.py 24 Apr 2006 03:47:58 -0000 1.68
***************
*** 394,404 ****
if self.__curr_decl.ignore:
return
fwrapper = None
self.__types_db.update( self.__curr_decl )
! if self._is_overridable( self.__curr_decl ):
class_wrapper = self.__curr_parent.wrapper
fwrapper = code_creators.function_wrapper_t( function=self.__curr_decl )
class_wrapper.adopt_creator( fwrapper )
- access_level = self.__curr_decl.parent.find_out_member_access_type( self.__curr_decl )
if access_level == declarations.ACCESS_TYPES.PRIVATE:
return
--- 394,406 ----
if self.__curr_decl.ignore:
return
+ if self.__curr_decl.name == 'invert_sign':
+ i = 0
fwrapper = None
self.__types_db.update( self.__curr_decl )
! access_level = self.__curr_decl.parent.find_out_member_access_type( self.__curr_decl )
! if self._is_overridable( self.__curr_decl ) or access_level == declarations.ACCESS_TYPES.PROTECTED:
class_wrapper = self.__curr_parent.wrapper
fwrapper = code_creators.function_wrapper_t( function=self.__curr_decl )
class_wrapper.adopt_creator( fwrapper )
if access_level == declarations.ACCESS_TYPES.PRIVATE:
return
|