We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f1dd326 + 9704dff commit dcda0c1Copy full SHA for dcda0c1
cbitstruct/_cbitstruct.c
@@ -1,12 +1,11 @@
1
+#define PY_SSIZE_T_CLEAN
2
+#include <Python.h>
3
+
4
#include <limits.h>
5
#include <stdbool.h>
6
#include <stdint.h>
7
#include <stdio.h>
8
-#define PY_SSIZE_T_CLEAN
-
-#include <Python.h>
9
10
#define BIT_MASK(__TYPE__, __ONE_COUNT__) \
11
(((__TYPE__)(-((__ONE_COUNT__) != 0))) \
12
& (((__TYPE__)-1) >> ((sizeof(__TYPE__) * CHAR_BIT) - (__ONE_COUNT__))))
setup.py
@@ -27,7 +27,7 @@
27
28
setup(
29
name="cbitstruct",
30
- version="1.0.3",
+ version="1.0.4",
31
author="Quentin CHATEAU",
32
author_email="[email protected]",
33
license="GPLv3",
0 commit comments