mercurial/cext/dirs.c
changeset 34438 b90e8da190da
parent 32372 df448de7cf3b
child 42343 d8e55c0c642c
equal deleted inserted replaced
34437:ce26a13869fb 34438:b90e8da190da
     7  the GNU General Public License, incorporated herein by reference.
     7  the GNU General Public License, incorporated herein by reference.
     8 */
     8 */
     9 
     9 
    10 #define PY_SSIZE_T_CLEAN
    10 #define PY_SSIZE_T_CLEAN
    11 #include <Python.h>
    11 #include <Python.h>
       
    12 
    12 #include "util.h"
    13 #include "util.h"
    13 
    14 
    14 #ifdef IS_PY3K
    15 #ifdef IS_PY3K
    15 #define PYLONG_VALUE(o) ((PyLongObject *)o)->ob_digit[1]
    16 #define PYLONG_VALUE(o) ((PyLongObject *)o)->ob_digit[1]
    16 #else
    17 #else