Did all of the .h's in source

(adding)
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

also the Makefile.in's were from previous patch adding
the system depend stuff to configure.ac

Kent
--
mein@cs.umn.edu
This commit is contained in:
2002-11-25 11:16:17 +00:00
parent 3f2f1571e5
commit b9a19f1ea7
555 changed files with 2210 additions and 29 deletions

View File

@@ -29,6 +29,11 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
struct Text;
struct ID;
struct ScriptLink;

View File

@@ -29,6 +29,11 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "DNA_ID.h"
#include "DNA_listBase.h"
#include "DNA_mesh_types.h"

View File

@@ -29,6 +29,11 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
typedef struct {
PyObject_HEAD
PyObject *dict;

View File

@@ -29,6 +29,11 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BPY_macros.h"
#include "opy_datablock.h"

View File

@@ -36,6 +36,10 @@
/** example: DEFFUNC_GETLIST(text) defines a method for getting a list
* of text blocks */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// Example: _GETLIST(name) -> get_namelist
#define _GETLIST(x) get_##x##list

View File

@@ -36,6 +36,10 @@
/* Hint: use gcc -E file.c to see what these macros are expanded in */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "api.h" // temporary defines for API version
#include "BPY_listbase_macro.h"

View File

@@ -31,6 +31,9 @@
*/
// Note: Functions prefixed with BPY_ are called from blenkernel routines */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "Python.h" /* The python includes themselves. */
#include "compile.h" /* to give us PyCodeObject */

View File

@@ -31,6 +31,10 @@
* these prototypes and init functions should be homogenized
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
extern PyObject *init_blender(void);
extern PyObject *init_py_nmesh(void);
extern PyObject *init_py_draw(void);

View File

@@ -30,6 +30,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
/* tools.c */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
extern PyObject *BPY_incr_ret (PyObject *ob);
extern PyObject *BPY_err_ret_ob (PyObject *type, char *err);
extern int py_err_ret_int (PyObject *type, char *err);

View File

@@ -30,6 +30,10 @@
* API defined Object types
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
extern PyTypeObject PyIpoCurve_Type, PyBezTriple_Type;
extern PyTypeObject Button_Type, Buffer_Type;
extern PyTypeObject NMesh_Type, NMFace_Type, NMVert_Type, NMCol_Type;

View File

@@ -29,5 +29,9 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void window_update_curCamera(Object *camera);

View File

@@ -34,6 +34,11 @@
* see Makefile
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#undef EXPERIMENTAL /* undefine this for release, please :-) */
/* Uncomment this if you want to have the new blender module

View File

@@ -30,6 +30,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
/* b_import.c */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
PyObject *importText (char *name);
PyObject *blender_import (PyObject *self, PyObject *args);
void init_ourImport (void);

View File

@@ -29,6 +29,11 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "DNA_ID.h"
#include "DNA_mesh_types.h"
#include "DNA_view3d_types.h"

View File

@@ -29,6 +29,11 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSE_edit.h" // for getname_< >_ei()
#include "BKE_global.h"
#include "BKE_main.h"

View File

@@ -31,6 +31,10 @@
*/
/* opy_nmesh.c */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "DNA_mesh_types.h"
#define NMesh_Check(v) ((v)->ob_type == &NMesh_Type)

View File

@@ -39,6 +39,10 @@
/*****************************/
/* temporar hack for typecasts */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
typedef float (*Matrix4Ptr)[4];
typedef struct {
PyObject_VAR_HEAD