summaryrefslogtreecommitdiff
path: root/Cython/Utility/ModuleSetupCode.c
diff options
context:
space:
mode:
authorscoder <stefan_ml@behnel.de>2012-04-12 05:10:48 -0700
committerscoder <stefan_ml@behnel.de>2012-04-12 05:10:48 -0700
commit87e3baf2409d5473513e697392df6f8f2025397e (patch)
treeb9299ae267652ecb688918a1b5e80d82009863d1 /Cython/Utility/ModuleSetupCode.c
parentda7f51b18eab339c9edbd6f9ee864db409cdfa83 (diff)
parent72ef3640409b4963586a2a7e92fe9f7162e8e157 (diff)
downloadcython-87e3baf2409d5473513e697392df6f8f2025397e.tar.gz
Merge pull request #110 from scoder/pypy
Better support for PyPy's cpyext C-API
Diffstat (limited to 'Cython/Utility/ModuleSetupCode.c')
-rw-r--r--Cython/Utility/ModuleSetupCode.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Cython/Utility/ModuleSetupCode.c b/Cython/Utility/ModuleSetupCode.c
index df2cb1bc1..6a69fdf94 100644
--- a/Cython/Utility/ModuleSetupCode.c
+++ b/Cython/Utility/ModuleSetupCode.c
@@ -40,12 +40,6 @@
#define CYTHON_COMPILING_IN_CPYTHON 1
#endif
-#if CYTHON_COMPILING_IN_PYPY
- #define __Pyx_PyCFunction_Call PyObject_Call
-#else
- #define __Pyx_PyCFunction_Call PyCFunction_Call
-#endif
-
#if PY_VERSION_HEX < 0x02050000
typedef int Py_ssize_t;
#define PY_SSIZE_T_MAX INT_MAX