[pygccxml-development] Fwd: My log
Brought to you by:
mbaas,
roman_yakovenko
From: Lakin W. <lak...@gm...> - 2006-05-27 20:13:08
|
forwarding to the list as well. ---------- Forwarded message ---------- From: Lakin Wecker <lak...@gm...> Date: May 27, 2006 1:08 PM Subject: Re: My log To: Roman Yakovenko <rom...@gm...> I've update from svn, and done some of your optimizations that you mentioned, but I still get the error. I've reuploaded the log and the python file. Lakin On 5/27/06, Roman Yakovenko <rom...@gm...> wrote: > 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 fixed. > 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 \ > = parser.create_cached_source_fc( r" path to/Ogre.h", "path > to/ogre.xml" ) ] > > mb = 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 can > remove the XML file from ogre build scripts. > > You can read more about this function in pygccxml_dev/docs/design.rest file. > > 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() > > > -- > Roman Yakovenko > C++ Python language binding > http://www.language-binding.net/ > > > |