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:
@@ -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)
|
||||
|
||||
|
||||
|
@@ -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; }
|
||||
|
@@ -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 */
|
||||
|
@@ -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..*/
|
||||
|
@@ -37,6 +37,10 @@
|
||||
#include "BPY_macros.h"
|
||||
#include "b_interface.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/* GLOBALS */
|
||||
|
||||
PyObject *g_blenderdict;
|
||||
|
@@ -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
|
||||
|
@@ -41,6 +41,10 @@
|
||||
|
||||
#include "BLI_arithb.h" /* Mat4Invert */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/* PROTOS */
|
||||
|
||||
|
||||
|
@@ -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, \
|
||||
|
@@ -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, \
|
||||
|
@@ -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) {
|
||||
|
@@ -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
|
||||
|
||||
|
||||
/* ---------------------------------------------------------------------------- */
|
||||
|
||||
|
@@ -58,6 +58,10 @@
|
||||
|
||||
#include "b_interface.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/************************************************************************
|
||||
* Generic low level routines
|
||||
*
|
||||
|
@@ -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;
|
||||
|
@@ -99,6 +99,10 @@
|
||||
|
||||
#include "b_interface.h" /* needed for most of the DNA datatypes */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
|
@@ -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 */
|
||||
|
@@ -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);
|
||||
|
@@ -38,7 +38,9 @@
|
||||
#include "BPY_modules.h"
|
||||
#include "opy_vector.h"
|
||||
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/*****************************/
|
||||
/* Vector Python Object */
|
||||
|
@@ -54,6 +54,9 @@
|
||||
#include "DNA_view3d_types.h"
|
||||
#include "DNA_space_types.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/*********************************/
|
||||
/* helper routines */
|
||||
|
Reference in New Issue
Block a user