Revision: 508
http://svn.sourceforge.net/pygccxml/?rev=508&view=rev
Author: mbaas
Date: 2006-09-03 02:39:10 -0700 (Sun, 03 Sep 2006)
Log Message:
-----------
Added a property 'function_transformers' that is a list of function transformer objects that should be applied to the calldef.
Modified Paths:
--------------
pyplusplus_dev/pyplusplus/decl_wrappers/calldef_wrapper.py
Modified: pyplusplus_dev/pyplusplus/decl_wrappers/calldef_wrapper.py
===================================================================
--- pyplusplus_dev/pyplusplus/decl_wrappers/calldef_wrapper.py 2006-09-03 09:31:45 UTC (rev 507)
+++ pyplusplus_dev/pyplusplus/decl_wrappers/calldef_wrapper.py 2006-09-03 09:39:10 UTC (rev 508)
@@ -28,6 +28,7 @@
self._use_default_arguments = True
self._create_with_signature = False
self._overridable = None
+ self._function_transformers = []
def get_call_policies(self):
return self._call_policies
@@ -114,6 +115,24 @@
overridable = property( get_overridable, set_overridable
, doc = get_overridable.__doc__ )
+
+ def _get_function_transformers(self):
+ """Get method for property 'function_transformers'.
+
+ Returns a reference to the internal list (which may be modified).
+ """
+ return self._function_transformers
+
+ def _set_function_transformers(self, function_transformers):
+ """Set method for property 'function_transformers'."""
+ self._function_transformers = function_transformers
+
+ function_transformers = property( _get_function_transformers, _set_function_transformers,
+ doc = """A list of function transformer objects that should be applied to the generated C++ code (default: []).
+ The returned list is the internal list (not a copy) which may be modified.
+ @type: list""")
+
+
def _exportable_impl_derived( self ):
return ''
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|