diff options
Diffstat (limited to 'source/blender/python/generic')
-rw-r--r-- | source/blender/python/generic/blf_py_api.c | 2 | ||||
-rw-r--r-- | source/blender/python/generic/bpy_threads.c | 2 | ||||
-rw-r--r-- | source/blender/python/generic/imbuf_py_api.c | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/python/generic/blf_py_api.c b/source/blender/python/generic/blf_py_api.c index 269ff3b5d69..836f4f1a12c 100644 --- a/source/blender/python/generic/blf_py_api.c +++ b/source/blender/python/generic/blf_py_api.c @@ -23,8 +23,8 @@ /* Future-proof, See https://docs.python.org/3/c-api/arg.html#strings-and-buffers */ #define PY_SSIZE_T_CLEAN -#include <Python.h> #include "blf_py_api.h" +#include <Python.h> #include "../../blenfont/BLF_api.h" diff --git a/source/blender/python/generic/bpy_threads.c b/source/blender/python/generic/bpy_threads.c index 2474b08180f..1aa36a0e685 100644 --- a/source/blender/python/generic/bpy_threads.c +++ b/source/blender/python/generic/bpy_threads.c @@ -23,8 +23,8 @@ #include <Python.h> -#include "BLI_utildefines.h" #include "../BPY_extern.h" +#include "BLI_utildefines.h" /* analogue of PyEval_SaveThread() */ BPy_ThreadStatePtr BPY_thread_save(void) diff --git a/source/blender/python/generic/imbuf_py_api.c b/source/blender/python/generic/imbuf_py_api.c index 32fe522b84d..8a02638786d 100644 --- a/source/blender/python/generic/imbuf_py_api.c +++ b/source/blender/python/generic/imbuf_py_api.c @@ -22,9 +22,9 @@ #include <Python.h> -#include "BLI_utildefines.h" -#include "BLI_string.h" #include "BLI_rect.h" +#include "BLI_string.h" +#include "BLI_utildefines.h" #include "py_capi_utils.h" @@ -36,9 +36,9 @@ #include "../../imbuf/IMB_imbuf_types.h" /* File IO */ -#include <fcntl.h> -#include <errno.h> #include "BLI_fileops.h" +#include <errno.h> +#include <fcntl.h> static PyObject *Py_ImBuf_CreatePyObject(ImBuf *ibuf); |