[pygccxml-commit] SF.net SVN: pygccxml:[1847] pyplusplus_dev
Brought to you by:
mbaas,
roman_yakovenko
|
From: <rom...@us...> - 2011-02-26 16:58:32
|
Revision: 1847
http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1847&view=rev
Author: roman_yakovenko
Date: 2011-02-26 16:58:26 +0000 (Sat, 26 Feb 2011)
Log Message:
-----------
fixing bug on 64 bit platform, in "from_addres" transformer, reported by Minh-Tri Pham
Modified Paths:
--------------
pyplusplus_dev/docs/history/history.rest
pyplusplus_dev/pyplusplus/function_transformers/transformers.py
Modified: pyplusplus_dev/docs/history/history.rest
===================================================================
--- pyplusplus_dev/docs/history/history.rest 2011-02-26 16:57:10 UTC (rev 1846)
+++ pyplusplus_dev/docs/history/history.rest 2011-02-26 16:58:26 UTC (rev 1847)
@@ -28,6 +28,7 @@
* Benoît Leveau
* Nikolaus Rath
* Alan Birtles
+* Minh-Tri Pham
-----------
SVN Version
@@ -70,8 +71,11 @@
10. Numerous bugs in "ctypes code generator" were fixed. Many thanks to Nikolaus Rath.
-11. Thanks to Alan Birtles, for fixing a small issue on cygwin
+11. Thanks to Alan Birtles, for fixing a small issue on cygwin.
+12. Thanks to Minh-Tri Pham, for reporting bug and providing patch for
+ "from_address" transformer, on 64 bit platforms.
+
-----------
Version 1.0
-----------
Modified: pyplusplus_dev/pyplusplus/function_transformers/transformers.py
===================================================================
--- pyplusplus_dev/pyplusplus/function_transformers/transformers.py 2011-02-26 16:57:10 UTC (rev 1846)
+++ pyplusplus_dev/pyplusplus/function_transformers/transformers.py 2011-02-26 16:58:26 UTC (rev 1847)
@@ -183,7 +183,7 @@
:param arg_ref: Index of the argument that is an output value
:type arg_ref: int
"""
- modifier = lambda type_: declarations.FUNDAMENTAL_TYPES[ 'unsigned int' ]
+ modifier = lambda type_: declarations.dummy_type_t('size_t')
type_modifier_t.__init__( self, function, arg_ref, modifier )
if not is_ptr_or_array( self.arg.type ):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|