Commit b19b8d84 authored by da-woods's avatar da-woods Committed by Stefan Behnel

Avoid setting Py_TPFLAGS_HEAPTYPE in Pyston

See https://github.com/cython/cython/issues/4200Signed-off-by: default avatarStefan Behnel <stefan_ml@behnel.de>
parent 218d8dc7
......@@ -166,7 +166,7 @@ static int __Pyx_PyType_Ready(PyTypeObject *t);/*proto*/
static int __Pyx_PyType_Ready(PyTypeObject *t) {
// FIXME: is this really suitable for CYTHON_COMPILING_IN_LIMITED_API?
#if CYTHON_USE_TYPE_SPECS || !(CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_LIMITED_API)
#if CYTHON_USE_TYPE_SPECS || !(CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_LIMITED_API) || defined(PYSTON_MAJOR_VERSION)
// avoid C warning about unused helper function
(void)__Pyx_PyObject_CallMethod0;
#if CYTHON_USE_TYPE_SPECS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment