Mercurial > hg
comparison mercurial/cext/dirs.c @ 34438:b90e8da190da
cext: reorder #include
We mostly abide by this style.
In one case, a blank line was inserted to prevent a local
`#include "file"` from coming before a `#include <file>`.
Differential Revision: https://phab.mercurial-scm.org/D908
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 02 Oct 2017 19:06:00 +0100 |
parents | df448de7cf3b |
children | d8e55c0c642c |
comparison
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 |