diff options
author | Kent Mein <mein@cs.umn.edu> | 2002-11-25 15:02:15 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2002-11-25 15:02:15 +0300 |
commit | d0e346d544cd3abb0007a68137b31923020f7aeb (patch) | |
tree | ae0714cd24dd0de0d007d95917d952280f8bd575 /source/blender/bpython | |
parent | b9a19f1ea702446cb176d3f621de331d5c2cc9da (diff) |
updated .c files to include:
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
Just need to finish cpp files now :)
Kent
--
mein@cs.umn.edu
Diffstat (limited to 'source/blender/bpython')
-rw-r--r-- | source/blender/bpython/intern/BPY_constobject.c | 5 | ||||
-rw-r--r-- | source/blender/bpython/intern/BPY_csg.c | 8 | ||||
-rw-r--r-- | source/blender/bpython/intern/BPY_image.c | 4 | ||||
-rw-r--r-- | source/blender/bpython/intern/BPY_ipo.c | 4 | ||||
-rw-r--r-- | source/blender/bpython/intern/BPY_links.c | 4 | ||||
-rw-r--r-- | source/blender/bpython/intern/BPY_main.c | 4 | ||||
-rw-r--r-- | source/blender/bpython/intern/BPY_object.c | 4 | ||||
-rw-r--r-- | source/blender/bpython/intern/BPY_scene.c | 4 | ||||
-rw-r--r-- | source/blender/bpython/intern/BPY_text.c | 4 | ||||
-rw-r--r-- | source/blender/bpython/intern/BPY_tools.c | 4 | ||||
-rw-r--r-- | source/blender/bpython/intern/b_import.c | 9 | ||||
-rw-r--r-- | source/blender/bpython/intern/b_interface.c | 4 | ||||
-rw-r--r-- | source/blender/bpython/intern/opy_blender.c | 4 | ||||
-rw-r--r-- | source/blender/bpython/intern/opy_datablock.c | 4 | ||||
-rw-r--r-- | source/blender/bpython/intern/opy_matrix.c | 4 | ||||
-rw-r--r-- | source/blender/bpython/intern/opy_nmesh.c | 5 | ||||
-rw-r--r-- | source/blender/bpython/intern/opy_vector.c | 4 | ||||
-rw-r--r-- | source/blender/bpython/intern/opy_window.c | 3 |
18 files changed, 71 insertions, 11 deletions
diff --git a/source/blender/bpython/intern/BPY_constobject.c b/source/blender/bpython/intern/BPY_constobject.c index 9f1a6b4cc3b..3dca07a6105 100644 --- a/source/blender/bpython/intern/BPY_constobject.c +++ b/source/blender/bpython/intern/BPY_constobject.c @@ -51,9 +51,12 @@ c = module.Const['CONSTANT'] #include "Python.h" #include "BPY_macros.h" - #include "BPY_constobject.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define Const_Check(v) ((v)->ob_type == &Const_Type) diff --git a/source/blender/bpython/intern/BPY_csg.c b/source/blender/bpython/intern/BPY_csg.c index 7237a843428..fe9af750209 100644 --- a/source/blender/bpython/intern/BPY_csg.c +++ b/source/blender/bpython/intern/BPY_csg.c @@ -33,17 +33,17 @@ // TODO - #include "Python.h" - #include "BPY_csg.h" - #include "BKE_booleanops_mesh.h" #include "BKE_booleanops.h" #include "MEM_guardedalloc.h" - #include "b_interface.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef DEBUG #define CSG_DEBUG(str) \ { printf str; } diff --git a/source/blender/bpython/intern/BPY_image.c b/source/blender/bpython/intern/BPY_image.c index a94abb594a7..ce4332eb87e 100644 --- a/source/blender/bpython/intern/BPY_image.c +++ b/source/blender/bpython/intern/BPY_image.c @@ -40,6 +40,10 @@ #include "BPY_macros.h" #include "b_interface.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + PyObject *INITMODULE(Image)(void); /* Image_Get */ diff --git a/source/blender/bpython/intern/BPY_ipo.c b/source/blender/bpython/intern/BPY_ipo.c index 237692ca38d..d1966ce58fd 100644 --- a/source/blender/bpython/intern/BPY_ipo.c +++ b/source/blender/bpython/intern/BPY_ipo.c @@ -44,6 +44,10 @@ #include "BSE_editipo.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* GLOBALS */ /* These should be put into a proper dictionary for quicker retrieval..*/ diff --git a/source/blender/bpython/intern/BPY_links.c b/source/blender/bpython/intern/BPY_links.c index e3c6458ef82..8cde80d176d 100644 --- a/source/blender/bpython/intern/BPY_links.c +++ b/source/blender/bpython/intern/BPY_links.c @@ -37,6 +37,10 @@ #include "BPY_macros.h" #include "b_interface.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* GLOBALS */ PyObject *g_blenderdict; diff --git a/source/blender/bpython/intern/BPY_main.c b/source/blender/bpython/intern/BPY_main.c index 17995476749..f65bcce693a 100644 --- a/source/blender/bpython/intern/BPY_main.c +++ b/source/blender/bpython/intern/BPY_main.c @@ -46,6 +46,10 @@ #include "mydevice.h" #include "import.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* PROTOS */ extern void init_frozenmodules(void); // frozen module library diff --git a/source/blender/bpython/intern/BPY_object.c b/source/blender/bpython/intern/BPY_object.c index d0184f9b729..054891dc9a5 100644 --- a/source/blender/bpython/intern/BPY_object.c +++ b/source/blender/bpython/intern/BPY_object.c @@ -41,6 +41,10 @@ #include "BLI_arithb.h" /* Mat4Invert */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* PROTOS */ diff --git a/source/blender/bpython/intern/BPY_scene.c b/source/blender/bpython/intern/BPY_scene.c index 19e992e6bb1..0918d116e3b 100644 --- a/source/blender/bpython/intern/BPY_scene.c +++ b/source/blender/bpython/intern/BPY_scene.c @@ -52,6 +52,10 @@ #include "BPY_macros.h" #include "BPY_window.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* DEFINES */ #define CHECK_VALIDSCENE(x) CHECK_VALIDDATA(x, \ diff --git a/source/blender/bpython/intern/BPY_text.c b/source/blender/bpython/intern/BPY_text.c index 855e12a6b9f..535595df564 100644 --- a/source/blender/bpython/intern/BPY_text.c +++ b/source/blender/bpython/intern/BPY_text.c @@ -74,6 +74,10 @@ #include "b_interface.h" #include "opy_datablock.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + DATABLOCK_GET(Textmodule, text object, getTextList()) #define CHECK_VALIDTEXT(x) CHECK_VALIDDATA(x, \ diff --git a/source/blender/bpython/intern/BPY_tools.c b/source/blender/bpython/intern/BPY_tools.c index 5a2c483607c..6ae82ad4267 100644 --- a/source/blender/bpython/intern/BPY_tools.c +++ b/source/blender/bpython/intern/BPY_tools.c @@ -34,6 +34,10 @@ #include "BKE_global.h" #include "BPY_tools.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* These should all have BPY prefixes later on */ PyObject *BPY_incr_ret(PyObject *ob) { diff --git a/source/blender/bpython/intern/b_import.c b/source/blender/bpython/intern/b_import.c index e490ee82338..1e4c27af77f 100644 --- a/source/blender/bpython/intern/b_import.c +++ b/source/blender/bpython/intern/b_import.c @@ -40,8 +40,6 @@ */ - - #include "DNA_text_types.h" #include "Python.h" #include "import.h" @@ -49,14 +47,15 @@ #include "BKE_main.h" #include "BKE_library.h" #include "BKE_text.h" - #include "BLI_blenlib.h" // mallocs - #include "BPY_macros.h" #include "BPY_main.h" - #include "b_import.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* ---------------------------------------------------------------------------- */ diff --git a/source/blender/bpython/intern/b_interface.c b/source/blender/bpython/intern/b_interface.c index ec89680ad91..850ee1fd695 100644 --- a/source/blender/bpython/intern/b_interface.c +++ b/source/blender/bpython/intern/b_interface.c @@ -58,6 +58,10 @@ #include "b_interface.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /************************************************************************ * Generic low level routines * diff --git a/source/blender/bpython/intern/opy_blender.c b/source/blender/bpython/intern/opy_blender.c index 6bbac3d958e..642f4c22e03 100644 --- a/source/blender/bpython/intern/opy_blender.c +++ b/source/blender/bpython/intern/opy_blender.c @@ -59,6 +59,10 @@ //#include "screen.h" //#include "ipo.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + void INITMODULE(BLENDERMODULE)(void); PyObject *g_sysmodule; diff --git a/source/blender/bpython/intern/opy_datablock.c b/source/blender/bpython/intern/opy_datablock.c index 6804c834897..3e63e2d5610 100644 --- a/source/blender/bpython/intern/opy_datablock.c +++ b/source/blender/bpython/intern/opy_datablock.c @@ -99,6 +99,10 @@ #include "b_interface.h" /* needed for most of the DNA datatypes */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* ---------------------------------------------------------------------- */ diff --git a/source/blender/bpython/intern/opy_matrix.c b/source/blender/bpython/intern/opy_matrix.c index cd93bd5f311..df91c499fb1 100644 --- a/source/blender/bpython/intern/opy_matrix.c +++ b/source/blender/bpython/intern/opy_matrix.c @@ -41,6 +41,10 @@ #include "BLI_arithb.h" #include "opy_vector.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + PyObject *BPY_tuple_repr(PyObject *self, int size); /* PROTOS */ diff --git a/source/blender/bpython/intern/opy_nmesh.c b/source/blender/bpython/intern/opy_nmesh.c index 48de7726dd8..6d1cbc2ecd8 100644 --- a/source/blender/bpython/intern/opy_nmesh.c +++ b/source/blender/bpython/intern/opy_nmesh.c @@ -59,6 +59,11 @@ #include "opy_vector.h" #include "b_interface.h" + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* PROTOS */ static int convert_NMeshToMesh(Mesh *mesh, NMesh *nmesh); diff --git a/source/blender/bpython/intern/opy_vector.c b/source/blender/bpython/intern/opy_vector.c index 905c6aeed34..fa318251cf1 100644 --- a/source/blender/bpython/intern/opy_vector.c +++ b/source/blender/bpython/intern/opy_vector.c @@ -38,7 +38,9 @@ #include "BPY_modules.h" #include "opy_vector.h" - +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif /*****************************/ /* Vector Python Object */ diff --git a/source/blender/bpython/intern/opy_window.c b/source/blender/bpython/intern/opy_window.c index 8aa976382a9..f5d4b07ff0c 100644 --- a/source/blender/bpython/intern/opy_window.c +++ b/source/blender/bpython/intern/opy_window.c @@ -54,6 +54,9 @@ #include "DNA_view3d_types.h" #include "DNA_space_types.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif /*********************************/ /* helper routines */ |