chiark
/
gitweb
/
~mdw
/
pyke
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2ad160b
)
*.c: Declare `PY_SSIZE_T_CLEAN'.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000
(09:26 +0100)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/catacomb-python.h
b/catacomb-python.h
index 0949562de460e319ec89a0ff319e26095e13c693..77c7eae4ab878c689ff309e75fc181bf7e52d2b2 100644
(file)
--- a/
catacomb-python.h
+++ b/
catacomb-python.h
@@
-33,6
+33,8
@@
/*----- Header files ------------------------------------------------------*/
/*----- Header files ------------------------------------------------------*/
+#define PY_SSIZE_T_CLEAN
+
#include <Python.h>
#include <longintrepr.h>
#include <structmember.h>
#include <Python.h>
#include <longintrepr.h>
#include <structmember.h>