Revision: 1180
http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1180&view=rev
Author: roman_yakovenko
Date: 2007-11-28 22:59:58 -0800 (Wed, 28 Nov 2007)
Log Message:
-----------
improving create_with_signature algorithm - fucntion, which are template instantiations will be exposed with signature
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 2007-11-27 20:37:00 UTC (rev 1179)
+++ pyplusplus_dev/pyplusplus/decl_wrappers/calldef_wrapper.py 2007-11-29 06:59:58 UTC (rev 1180)
@@ -54,6 +54,10 @@
def _get_create_with_signature(self):
if None is self._create_with_signature:
self._create_with_signature = bool( self.overloads )
+
+ if not self._create_with_signature and declarations.templates.is_instantiation( self.name ):
+ self._create_with_signature = True
+
if not self._create_with_signature and isinstance( self.parent, declarations.class_t ):
for hi in self.parent.recursive_bases:
if hi.access_type == 'private':
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|