[pypy-svn] r26545 - pypy/dist/pypy/rpython/rctypes/tool

ac at codespeak.net ac at codespeak.net
Sat Apr 29 04:45:32 CEST 2006


Author: ac
Date: Sat Apr 29 04:45:31 2006
New Revision: 26545

Modified:
   pypy/dist/pypy/rpython/rctypes/tool/ctypes_platform.py
Log:
(aleale, arre) Fieldnames may not start with '_'



Modified: pypy/dist/pypy/rpython/rctypes/tool/ctypes_platform.py
==============================================================================
--- pypy/dist/pypy/rpython/rctypes/tool/ctypes_platform.py	(original)
+++ pypy/dist/pypy/rpython/rctypes/tool/ctypes_platform.py	Sat Apr 29 04:45:31 2006
@@ -187,7 +187,7 @@
         for i, cell in enumerate(layout):
             if cell is not None:
                 continue
-            layout_addfield(layout, i, ctypes.c_char, '_pad%d' % (n,))
+            layout_addfield(layout, i, ctypes.c_char, 'pad%d' % (n,))
             n += 1
 
         # build the ctypes Structure



More information about the Pypy-commit mailing list