[pygccxml-commit] SF.net SVN: pygccxml: [499] pyplusplus_dev/contrib/goodies
Brought to you by:
mbaas,
roman_yakovenko
From: <al...@us...> - 2006-08-30 21:16:50
|
Revision: 499 http://svn.sourceforge.net/pygccxml/?rev=499&view=rev Author: allenb Date: 2006-08-30 14:16:47 -0700 (Wed, 30 Aug 2006) Log Message: ----------- - Import more methods and symbols into dsl interface. This brings all of type_traits and the types from cpptypes and calldef. It may not be a good idea to bring them "all" in with an "from X import *", but it was quick to do and I will just have to see if it has any side-effects in the future. For now I only have one import for my script "from goodies import *". That now brings in everything that I need to building a model and creating methods that do custom policies and a variety of other "advanced" things. Modified Paths: -------------- pyplusplus_dev/contrib/goodies/dsl_interface.py pyplusplus_dev/contrib/goodies/goodie_utils.py Modified: pyplusplus_dev/contrib/goodies/dsl_interface.py =================================================================== --- pyplusplus_dev/contrib/goodies/dsl_interface.py 2006-08-30 19:44:27 UTC (rev 498) +++ pyplusplus_dev/contrib/goodies/dsl_interface.py 2006-08-30 21:16:47 UTC (rev 499) @@ -22,7 +22,17 @@ # Type traits +# - just import them all. This isn't pretty, but it will work for now +from pygccxml.declarations.type_traits import * +# cpptypes +# - import them all and leave them named X_t because they are "types" and +# this seems like a good way to keep that in mind. +# This may end up being a bad idea. I don't know yet, so for now we will +# try it and see what happens. +from pygccxml.declarations.cpptypes import * +from pygccxml.declarations.calldef import * + # Matchers # - Bring in all matchers but rename then without the '_t' at the end import pygccxml.declarations.matchers Modified: pyplusplus_dev/contrib/goodies/goodie_utils.py =================================================================== --- pyplusplus_dev/contrib/goodies/goodie_utils.py 2006-08-30 19:44:27 UTC (rev 498) +++ pyplusplus_dev/contrib/goodies/goodie_utils.py 2006-08-30 21:16:47 UTC (rev 499) @@ -22,7 +22,6 @@ def set_allow_empty_mdecl_default(val): pd.scopedef_t.ALLOW_EMPTY_MDECL_WRAPPER = val - def finalize(cls): """ Attempt to finalize a class by not exposing virtual methods. Still exposes in the case of pure virtuals otherwise the class This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |