Revision: 931
http://svn.sourceforge.net/pygccxml/?rev=931&view=rev
Author: roman_yakovenko
Date: 2007-02-25 03:08:58 -0800 (Sun, 25 Feb 2007)
Log Message:
-----------
removing constness from "input" type
Modified Paths:
--------------
pyplusplus_dev/pyplusplus/function_transformers/transformers.py
Modified: pyplusplus_dev/pyplusplus/function_transformers/transformers.py
===================================================================
--- pyplusplus_dev/pyplusplus/function_transformers/transformers.py 2007-02-25 11:04:28 UTC (rev 930)
+++ pyplusplus_dev/pyplusplus/function_transformers/transformers.py 2007-02-25 11:08:58 UTC (rev 931)
@@ -260,7 +260,7 @@
% ( function, self.arg.name, self.arg.type)
self.array_size = size
- self.array_item_type = declarations.array_item_type( self.arg.type )
+ self.array_item_type = declarations.remove_const( declarations.array_item_type( self.arg.type ) )
def __str__(self):
return "input_array(%s,%d)"%( self.arg.name, self.array_size)
@@ -432,7 +432,7 @@
raise ValueError( '%s\nin order to use "input_c_buffer" transformation, "size" argument %s type must be an integral type (got %s).' ) \
% ( function, self.size_arg.name, self.size_arg.type)
- self.buffer_item_type = declarations.array_item_type( self.buffer_arg.type )
+ self.buffer_item_type = declarations.remove_const( declarations.array_item_type( self.buffer_arg.type ) )
def __str__(self):
return "input_c_buffer(buffer arg=%s, size arg=%s)" \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|