[gobject-introspection: 1/2] giscanner: always define PY_SSIZE_T_CLEAN
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection: 1/2] giscanner: always define PY_SSIZE_T_CLEAN
- Date: Sun, 8 Nov 2020 14:56:54 +0000 (UTC)
commit b8af0aa5281214a3216df758052f8fb5b730c460
Author: Christoph Reiter <reiter christoph gmail com>
Date: Tue Oct 6 14:35:29 2020 +0200
giscanner: always define PY_SSIZE_T_CLEAN
This is required for Python 3.10 and always a good idea anyway.
giscanner/giscannermodule.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/giscanner/giscannermodule.c b/giscanner/giscannermodule.c
index 43f8bdea2..996a509e8 100644
--- a/giscanner/giscannermodule.c
+++ b/giscanner/giscannermodule.c
@@ -22,6 +22,7 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#define PY_SSIZE_T_CLEAN
#include <Python.h>
#include "sourcescanner.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]