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
This commit is contained in:
2002-11-25 12:02:15 +00:00
parent b9a19f1ea7
commit d0e346d544
251 changed files with 1028 additions and 79 deletions

View File

@@ -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)

View File

@@ -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; }

View File

@@ -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 */

View File

@@ -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..*/

View File

@@ -37,6 +37,10 @@
#include "BPY_macros.h"
#include "b_interface.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* GLOBALS */
PyObject *g_blenderdict;

View File

@@ -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

View File

@@ -41,6 +41,10 @@
#include "BLI_arithb.h" /* Mat4Invert */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* PROTOS */

View File

@@ -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, \

View File

@@ -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, \

View File

@@ -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) {

View File

@@ -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
/* ---------------------------------------------------------------------------- */

View File

@@ -58,6 +58,10 @@
#include "b_interface.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/************************************************************************
* Generic low level routines
*

View File

@@ -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;

View File

@@ -99,6 +99,10 @@
#include "b_interface.h" /* needed for most of the DNA datatypes */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* ---------------------------------------------------------------------- */

View File

@@ -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 */

View File

@@ -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);

View File

@@ -38,7 +38,9 @@
#include "BPY_modules.h"
#include "opy_vector.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/*****************************/
/* Vector Python Object */

View File

@@ -54,6 +54,9 @@
#include "DNA_view3d_types.h"
#include "DNA_space_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/*********************************/
/* helper routines */