[pypy-svn] r45082 - pypy/dist/pypy/rpython/rctypes/tool
simonb at codespeak.net
simonb at codespeak.net
Sat Jul 14 16:30:09 CEST 2007
Author: simonb
Date: Sat Jul 14 16:30:09 2007
New Revision: 45082
Modified:
pypy/dist/pypy/rpython/rctypes/tool/ctypes_platform.py
Log:
help rctypes to work with SDL on mac OS X
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 Jul 14 16:30:09 2007
@@ -86,7 +86,7 @@
print >> f, '}'
print >> f
- print >> f, 'int main(void) {'
+ print >> f, 'int main(int argc, char *argv[]) {'
for key, entry in entries:
print >> f, '\tprintf("-+- %s\\n");' % (key,)
print >> f, '\tdump_section_%s();' % (key,)
More information about the Pypy-commit
mailing list