*.c: Declare `PY_SSIZE_T_CLEAN'.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 12 Apr 2017 21:01:56 +0000 (22:01 +0100)
Now we can process large strings on 64-bit targets.  Err, win?

catacomb-python.h

index 0949562..77c7eae 100644 (file)
@@ -33,6 +33,8 @@
 
 /*----- Header files ------------------------------------------------------*/
 
+#define PY_SSIZE_T_CLEAN
+
 #include <Python.h>
 #include <longintrepr.h>
 #include <structmember.h>