Skip to content

Commit

Permalink
Issue #12 try pylong internals 1
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson318 committed Feb 21, 2024
1 parent fe80ad9 commit ebe42bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndicapimodule.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ebe42bc

Please sign in to comment.