Skip to content

Commit b26367b

Browse files
committed
HACK: for now module functions and wrapper descr are the same for us
1 parent 84e1f12 commit b26367b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
typedef PyObject *(*PyCFunction)(PyObject *, PyObject *);
4242

4343
PyTypeObject PyCFunction_Type = PY_TRUFFLE_TYPE("builtin_function_or_method", &PyType_Type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, sizeof(PyCFunctionObject));
44+
PyTypeObject PyWrapperDescr_Type = PY_TRUFFLE_TYPE("builtin_function_or_method", &PyType_Type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, sizeof(PyWrapperDescr_Type));;
4445

4546
PyObject* PyCFunction_NewEx(PyMethodDef *ml, PyObject *self, PyObject *module) {
4647
PyObject* func = to_sulong(polyglot_invoke(PY_TRUFFLE_CEXT,

0 commit comments

Comments
 (0)