Revision: 711
http://svn.sourceforge.net/pygccxml/?rev=711&view=rev
Author: roman_yakovenko
Date: 2006-11-11 11:12:12 -0800 (Sat, 11 Nov 2006)
Log Message:
-----------
removing dead code
Modified Paths:
--------------
pyplusplus_dev/pyplusplus/code_creators/calldef_transformed.py
Modified: pyplusplus_dev/pyplusplus/code_creators/calldef_transformed.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_creators/calldef_transformed.py 2006-11-11 19:04:40 UTC (rev 710)
+++ pyplusplus_dev/pyplusplus/code_creators/calldef_transformed.py 2006-11-11 19:12:12 UTC (rev 711)
@@ -71,13 +71,6 @@
sm.init_funcs()
self._subst_manager = sm
-# def is_free_function(self):
-# """Return True if the generated function is a free function.
-#
-# @rtype: bool
-# """
-# return self.parent==None
-
def function_type(self):
"""Return the type of the wrapper function.
@@ -95,7 +88,6 @@
"""Return the name of the wrapper function.
This is just the local name without any scope information.
-
"""
# A list with the individual components of the name
components = ["_py"]
@@ -118,14 +110,6 @@
else:
return self.wrapper_name()
- def create_sig_id(self):
- """Create an ID string that identifies a signature.
-
- @rtype: str
- """
- template = '%s($ARG_LIST_TYPES)'%self.declaration.alias
- return self._subst_manager.subst_wrapper(template)
-
def create_declaration(self, name):
"""Create the function header.
"""
@@ -154,9 +138,6 @@
return body
def create_function(self):
-# sig_id = self.create_sig_id()
- # ...check sig here...
-
answer = [70*"/"]
answer.append("// Transformed wrapper function for:")
answer.append("// %s"%self.declaration)
@@ -460,12 +441,6 @@
"cls_wrapper" : cls_wrapper,
"self" : selfname,
"base_name" : self.base_name() }
-
-# function_call = declarations.call_invocation.join( self.declaration.name
-# , [ self.function_call_args() ] )
-# body = self.wrapped_class_identifier() + '::' + function_call + ';'
-# if not declarations.is_void( self.declaration.return_type ):
-# body = 'return ' + body
return body
def create_function(self):
@@ -506,4 +481,5 @@
# argument list)
self.declaration.arguments = self._subst_manager.wrapper_func.arg_list
- return answer
\ No newline at end of file
+ return answer
+
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|