Revision: 53
Author: roman_yakovenko
Date: 2006-05-01 22:25:23 -0700 (Mon, 01 May 2006)
ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=53&view=rev
Log Message:
-----------
updating writer to use free_function_t code creator, instead of "function_t" one
Modified Paths:
--------------
pyplusplus_dev/pyplusplus/file_writers/multiple_files.py
Modified: pyplusplus_dev/pyplusplus/file_writers/multiple_files.py
===================================================================
--- pyplusplus_dev/pyplusplus/file_writers/multiple_files.py 2006-05-02 05:24:01 UTC (rev 52)
+++ pyplusplus_dev/pyplusplus/file_writers/multiple_files.py 2006-05-02 05:25:23 UTC (rev 53)
@@ -227,8 +227,8 @@
def split_free_functions( self ):
"""Write all free functions into a separate .h/.cpp file.
"""
- creators = filter( lambda x: isinstance(x, code_creators.function_t )
- , self.extmodule.body.creators )
+ creators = filter( lambda x: isinstance(x, code_creators.free_function_t )
+ , self.extmodule.body.creators )
self.split_creators( creators, '_free_functions', 'register_free_functions', -1 )
#TODO: move write_main to __init__
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|