diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-08 15:01:48 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-08 15:01:48 +0200 |
| commit | d85d1ab7ab6f2133efc039bf150d7ae0fb5202a1 (patch) | |
| tree | 90229e50a09b7ce14b3d59b6122878603f13fb29 | |
| parent | 204c4f505a85435dac8b02f4166faf305888f771 (diff) | |
| download | python-c-master.tar.gz python-c-master.zip | |
| -rw-r--r-- | sum_module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sum_module.c b/sum_module.c index 5f55747..83352c1 100644 --- a/sum_module.c +++ b/sum_module.c | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | #include "sum.h" | ||
| 2 | |||
| 3 | #define PY_SSIZE_T_CLEAN | 1 | #define PY_SSIZE_T_CLEAN |
| 4 | #include <Python.h> | 2 | #include <Python.h> |
| 5 | 3 | ||
| 4 | #include "sum.h" | ||
| 5 | |||
| 6 | static PyObject *csum(PyObject *self, PyObject *args) { | 6 | static PyObject *csum(PyObject *self, PyObject *args) { |
| 7 | int a, b, result; | 7 | int a, b, result; |
| 8 | 8 | ||
