chiark
/
gitweb
/
~mdw
/
pyke
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*.c: Declare `PY_SSIZE_T_CLEAN'.
[pyke]
/
catacomb-python.h
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 ------------------------------------------------------*/
+#define PY_SSIZE_T_CLEAN
+
#include <Python.h>
#include <longintrepr.h>
#include <structmember.h>