[pypy-svn] r22634 - pypy/dist/pypy/translator/llvm/module
rxe at codespeak.net
rxe at codespeak.net
Wed Jan 25 11:24:33 CET 2006
Author: rxe
Date: Wed Jan 25 11:24:31 2006
New Revision: 22634
Modified:
pypy/dist/pypy/translator/llvm/module/genexterns.c
Log:
More prototype forwarding hacks - we dont always have a RPyListOfString
declared.
Modified: pypy/dist/pypy/translator/llvm/module/genexterns.c
==============================================================================
--- pypy/dist/pypy/translator/llvm/module/genexterns.c (original)
+++ pypy/dist/pypy/translator/llvm/module/genexterns.c Wed Jan 25 11:24:31 2006
@@ -8,13 +8,16 @@
#define RPyRaiseSimpleException(exctype, errormsg) raise##exctype(errormsg)
-// generated by rpython - argggh have to feed in prototypes
+// XXX generated by rpython - argggh have to feed in prototypes
RPyFREXP_RESULT *ll_frexp_result(double, int);
RPyMODF_RESULT *ll_modf_result(double, double);
RPySTAT_RESULT *ll_stat_result(int, int, int, int, int, int, int, int, int, int);
void RPYTHON_RAISE_OSERROR(int error);
-RPyListOfString *_RPyListOfString_New(long);
-void _RPyListOfString_SetItem(RPyListOfString *, int, RPyString *);
+#ifdef RPyListOfString
+ RPyListOfString *_RPyListOfString_New(long);
+ void _RPyListOfString_SetItem(RPyListOfString *, int, RPyString *);
+#endif
+// XXX end of proto hacks
// overflows/zeros/values raising operations
#include "raisingop.h"
More information about the Pypy-commit
mailing list