Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dalai@blender.org>2020-03-19 11:33:03 +0300
committerDalai Felinto <dalai@blender.org>2020-03-19 11:33:58 +0300
commit2d1cce8331f3ecdfb8cb0c651e111ffac5dc7153 (patch)
treeec50d7bdca3901a6afcc986943011f08f9516307 /source/blender/python/generic
parent008aaaa37841ca27d2bba80d8859336655cef455 (diff)
Cleanup: `make format` after SortedIncludes change
Diffstat (limited to 'source/blender/python/generic')
-rw-r--r--source/blender/python/generic/blf_py_api.c2
-rw-r--r--source/blender/python/generic/bpy_threads.c2
-rw-r--r--source/blender/python/generic/imbuf_py_api.c8
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);