[pypy-svn] r45738 - pypy/branch/pypy-more-rtti-inprogress/rpython/tool
fijal at codespeak.net
fijal at codespeak.net
Thu Aug 16 17:51:48 CEST 2007
Author: fijal
Date: Thu Aug 16 17:51:47 2007
New Revision: 45738
Modified:
pypy/branch/pypy-more-rtti-inprogress/rpython/tool/rffi_platform.py
Log:
Kill unused code
Modified: pypy/branch/pypy-more-rtti-inprogress/rpython/tool/rffi_platform.py
==============================================================================
--- pypy/branch/pypy-more-rtti-inprogress/rpython/tool/rffi_platform.py (original)
+++ pypy/branch/pypy-more-rtti-inprogress/rpython/tool/rffi_platform.py Thu Aug 16 17:51:47 2007
@@ -362,14 +362,6 @@
#
# internal helpers
-def ctype_alignment(c_type):
- xxxx
- if issubclass(c_type, ctypes.Structure):
- return max([ctype_alignment(fld_type)
- for fld_name, fld_type in c_type._fields_])
-
- return ctypes.alignment(c_type)
-
def uniquefilepath(LAST=[0]):
i = LAST[0]
LAST[0] += 1
More information about the Pypy-commit
mailing list