diff --git a/cbitstruct/_cbitstruct.c b/cbitstruct/_cbitstruct.c index 78648ef..5755416 100644 --- a/cbitstruct/_cbitstruct.c +++ b/cbitstruct/_cbitstruct.c @@ -1,12 +1,11 @@ +#define PY_SSIZE_T_CLEAN +#include + #include #include #include #include -#define PY_SSIZE_T_CLEAN - -#include - #define BIT_MASK(__TYPE__, __ONE_COUNT__) \ (((__TYPE__)(-((__ONE_COUNT__) != 0))) \ & (((__TYPE__)-1) >> ((sizeof(__TYPE__) * CHAR_BIT) - (__ONE_COUNT__)))) diff --git a/setup.py b/setup.py index a4eae69..c368336 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( name="cbitstruct", - version="1.0.3", + version="1.0.4", author="Quentin CHATEAU", author_email="quentin.chateau@gmail.com", license="GPLv3",