Skip to content

Commit

Permalink
Issue #12 try pylong internals
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson318 committed Feb 21, 2024
1 parent 223df4f commit fe80ad9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ndicapimodule.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +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 PY_INT_OBJECT_OB_IVAL(ob) ob->ob_digit[0]
#define cmpfunc PyAsyncMethods*
#else
Expand Down

0 comments on commit fe80ad9

Please sign in to comment.