diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-24 05:24:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-24 05:24:58 +0400 |
commit | 3c11379e26b1aad399ecd0afc4d23df12b24f3cd (patch) | |
tree | 0a549fceeaf261e9ca0900711e99f35f6b2b0c24 /source/blender/python | |
parent | 0c898514f0b1536e1b335f24a1408f70c0162c48 (diff) |
code cleanup: move bmesh inline funcs to headers (avoids compiling the C files).
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_api.c | 4 | ||||
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types_select.c | 6 | ||||
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_utils.c | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_api.c b/source/blender/python/bmesh/bmesh_py_api.c index 23a3f6ed5c0..77276df49f2 100644 --- a/source/blender/python/bmesh/bmesh_py_api.c +++ b/source/blender/python/bmesh/bmesh_py_api.c @@ -31,6 +31,8 @@ #include <Python.h> +#include "BLI_utildefines.h" + #include "bmesh.h" #include "bmesh_py_types.h" @@ -40,8 +42,6 @@ #include "bmesh_py_utils.h" -#include "BLI_utildefines.h" - #include "BKE_tessmesh.h" #include "DNA_mesh_types.h" diff --git a/source/blender/python/bmesh/bmesh_py_types_select.c b/source/blender/python/bmesh/bmesh_py_types_select.c index bf0e70c7ac1..4f3501944b0 100644 --- a/source/blender/python/bmesh/bmesh_py_types_select.c +++ b/source/blender/python/bmesh/bmesh_py_types_select.c @@ -35,14 +35,14 @@ #include <Python.h> +#include "BLI_utildefines.h" +#include "BLI_listbase.h" + #include "bmesh.h" #include "bmesh_py_types.h" #include "bmesh_py_types_select.h" -#include "BLI_utildefines.h" -#include "BLI_listbase.h" - #include "BKE_tessmesh.h" #include "DNA_mesh_types.h" diff --git a/source/blender/python/bmesh/bmesh_py_utils.c b/source/blender/python/bmesh/bmesh_py_utils.c index 736802c7f60..bbec871a44b 100644 --- a/source/blender/python/bmesh/bmesh_py_utils.c +++ b/source/blender/python/bmesh/bmesh_py_utils.c @@ -32,14 +32,14 @@ #include <Python.h> -#include "bmesh.h" - -#include "bmesh_py_types.h" - #include "BLI_utildefines.h" #include "MEM_guardedalloc.h" +#include "bmesh.h" + +#include "bmesh_py_types.h" + #include "bmesh_py_utils.h" /* own include */ |