Skip to content

Commit

Permalink
Issue #12 try hack from cython/cython#5238 further down
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson318 committed Feb 22, 2024
1 parent 19e04b3 commit 1f02f75
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 @@ -27,7 +27,7 @@
#define PyIntObject PyLongObject
//#define PY_INT_OBJECT_OB_IVAL(ob) PyLong_AsLong((PyObject*)(ob))
#define CYTHON_USE_PYLONG_INTERNALS 1
#define PY_INT_OBJECT_OB_IVAL(ob) ob->long_value->ob_digit[0]
#define PY_INT_OBJECT_OB_IVAL(ob) ob->long_value.ob_digit[0]
#define cmpfunc PyAsyncMethods*
#else
#define MOD_ERROR_VAL
Expand Down

0 comments on commit 1f02f75

Please sign in to comment.