Revision: 697
http://svn.sourceforge.net/pygccxml/?rev=697&view=rev
Author: roman_yakovenko
Date: 2006-11-08 02:08:43 -0800 (Wed, 08 Nov 2006)
Log Message:
-----------
adding small convenient method, that returns all argument types
Modified Paths:
--------------
pygccxml_dev/pygccxml/declarations/calldef.py
Modified: pygccxml_dev/pygccxml/declarations/calldef.py
===================================================================
--- pygccxml_dev/pygccxml/declarations/calldef.py 2006-11-07 18:16:09 UTC (rev 696)
+++ pygccxml_dev/pygccxml/declarations/calldef.py 2006-11-08 10:08:43 UTC (rev 697)
@@ -136,6 +136,11 @@
@type: list of L{argument_t}""")
@property
+ def argument_types( self ):
+ """list of all argument types"""
+ return [ arg.type for arg in self.arguments ]
+
+ @property
def required_args(self):
"""list of all required arguments"""
r_args = []
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|