From ebe42bc3c30d6fb6b73e476879e9998038ded0ab Mon Sep 17 00:00:00 2001 From: Stephen Thompson Date: Wed, 21 Feb 2024 15:45:53 +0000 Subject: [PATCH] Issue #12 try pylong internals 1 --- ndicapimodule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ndicapimodule.cxx b/ndicapimodule.cxx index 9b455b9..6d4c78f 100644 --- a/ndicapimodule.cxx +++ b/ndicapimodule.cxx @@ -26,7 +26,7 @@ #define PyString_AsString PyUnicode_AsUTF8 #define PyIntObject PyLongObject //#define PY_INT_OBJECT_OB_IVAL(ob) PyLong_AsLong((PyObject*)(ob)) - #define CYTHON_USE_PYLONG_INTERNALS 0 + #define CYTHON_USE_PYLONG_INTERNALS 1 #define PY_INT_OBJECT_OB_IVAL(ob) ob->ob_digit[0] #define cmpfunc PyAsyncMethods* #else