[pygccxml-development] Re: My log
Brought to you by:
mbaas,
roman_yakovenko
|
From: Roman Y. <rom...@gm...> - 2006-05-27 18:48:43
|
Okay. The error you reported has been fixed. pyplusplus did not take into
account that member variable can hold pointer to function. This has been fi=
xed.
File that contains the fix is attached. Please put it into
pyplusplus/decl_wrappers
directory. ( It is also committed to repository )
Also I want to give you few tips:
1. Speed could be improved:
from pygccxml import parser
ogre_header \
=3D parser.create_cached_source_fc( r" path to/Ogre.h", "path
to/ogre.xml" ) ]
mb =3D module_builder_t( [ogre_header], .... )
It will create xml file in location you specify and will reuse it
every time. Thus you
will save time by not invoking gccxml every time.
IT IS UP TO YOU to remove the xml file if you change source files. You c=
an
remove the XML file from ogre build scripts.
You can read more about this function in pygccxml_dev/docs/design.rest f=
ile.
2. Cool feature:
mb.calldefs( access_type_matcher_t( 'protected' ) ).exclude()
mb.calldefs( access_type_matcher_t( 'protected' ) ).exclude()
is equal to:
mb.calldefs( ~access_type_matcher_t( 'public' ) ).exclude()
--=20
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
|