diff options
author | Ken Hughes <khughes@pacific.edu> | 2007-03-29 07:47:50 +0400 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2007-03-29 07:47:50 +0400 |
commit | 1e71afc48ab12967e1fc67ff7b8271babbebf3c3 (patch) | |
tree | b28a283c5751a3b67cd0fa30d13cc4b840c2a724 /source/blender/python | |
parent | 2d86a1ce284d28647ad883c4edc2f31b0e156333 (diff) |
Python API
----------
Fix gcc compiler warnings.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/api2_2x/BPyModule.c | 2 | ||||
-rw-r--r-- | source/blender/python/api2_2x/BPyModule.h | 1 | ||||
-rw-r--r-- | source/blender/python/api2_2x/Key.c | 3 |
3 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/BPyModule.c b/source/blender/python/api2_2x/BPyModule.c index 8c85324bde4..6159fe76f7a 100644 --- a/source/blender/python/api2_2x/BPyModule.c +++ b/source/blender/python/api2_2x/BPyModule.c @@ -30,6 +30,7 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#include "BPyModule.h" #include "MEM_guardedalloc.h" /* for MEM_callocN */ #include "DNA_space_types.h" /* SPACE_VIEW3D, SPACE_SEQ */ @@ -103,7 +104,6 @@ #include "Text.h" #include "Sound.h" #include "NLA.h" -#include "BPyModule.h" #include "Scene.h" #include "Library.h" diff --git a/source/blender/python/api2_2x/BPyModule.h b/source/blender/python/api2_2x/BPyModule.h index ea11cce9810..2d8fa2a3684 100644 --- a/source/blender/python/api2_2x/BPyModule.h +++ b/source/blender/python/api2_2x/BPyModule.h @@ -33,6 +33,7 @@ #define EXPP_BPYMODULE_H #include <Python.h> +#include "DNA_listBase.h" /* The Main PyType Object defined in Main.c */ extern PyTypeObject LibBlockSeq_Type; diff --git a/source/blender/python/api2_2x/Key.c b/source/blender/python/api2_2x/Key.c index 07112c62e17..d1231daba5f 100644 --- a/source/blender/python/api2_2x/Key.c +++ b/source/blender/python/api2_2x/Key.c @@ -31,6 +31,8 @@ * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ +#include "Key.h" /*This must come first*/ + #include "DNA_scene_types.h" #include <BLI_blenlib.h> @@ -41,7 +43,6 @@ #include "BIF_space.h" #include "Ipocurve.h" -#include "Key.h" #include "NMesh.h" /* we create NMesh.NMVert objects */ #include "Ipo.h" #include "BezTriple.h" |