Skip to content

Commit 983ea1c

Browse files
committed
define two functions that are used when numpy was compiled with Python 3.4
1 parent b26367b commit 983ea1c

File tree

1 file changed

+7
-0
lines changed
  • graalpython/com.oracle.graal.python.cext/src

1 file changed

+7
-0
lines changed

graalpython/com.oracle.graal.python.cext/src/ceval.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,10 @@ int _Py_CheckRecursionLimit = Py_DEFAULT_RECURSION_LIMIT;
4747
PyObject* PyEval_CallObjectWithKeywords(PyObject *func, PyObject *args, PyObject *kwargs) {
4848
return PyObject_Call(func, args, kwargs);
4949
}
50+
51+
PyThreadState* PyEval_SaveThread() {
52+
return NULL;
53+
}
54+
55+
void PyEval_RestoreThread(PyThreadState *ptr) {
56+
}

0 commit comments

Comments
 (0)