Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorStephen Swaney <sswaney@centurytel.net>2005-03-07 06:31:14 +0300
committerStephen Swaney <sswaney@centurytel.net>2005-03-07 06:31:14 +0300
commita1f97a01e4b9612d5c35b61c3e9f32fdda7aa7a2 (patch)
treee5de035b2f625eaa7d2013891c410782cebc5640 /source
parent7b081fe3b7527a77fce9cd69f6a1d27dc19b4596 (diff)
fix warnings about implicit declarations.
overlooked by being in a hurry.
Diffstat (limited to 'source')
-rw-r--r--source/blender/python/api2_2x/Text3d.c11
-rw-r--r--source/blender/python/api2_2x/Text3d.h5
-rw-r--r--source/blender/python/api2_2x/modules.h3
3 files changed, 17 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Text3d.c b/source/blender/python/api2_2x/Text3d.c
index 695267ceaf8..aee86f20f63 100644
--- a/source/blender/python/api2_2x/Text3d.c
+++ b/source/blender/python/api2_2x/Text3d.c
@@ -36,12 +36,21 @@
#include "BKE_object.h"
#include "BDR_editobject.h"
+#include "BKE_displist.h"
+#include "MEM_guardedalloc.h"
#include "blendef.h"
#include "Text3d.h"
#include "mydevice.h"
+/*
+fixme hackage warning:
+this decl is copied from source/blender/src/editfont.c
+it belongs in a .h file!
+*/
+VFont *get_builtin_font(void);
+
extern PyObject *Curve_getName( BPy_Text3d * self );
extern PyObject *Curve_setName( BPy_Text3d * self, PyObject * args );
@@ -60,7 +69,7 @@ static PyObject *M_Text3d_Get( PyObject * self, PyObject * args );
/* Python Text3d_Type callback function prototypes: */
/*****************************************************************************/
-PyObject *Text3d_Init( void );
+
void Text3dDeAlloc( BPy_Text3d * msh );
/* int Text3dPrint (BPy_Text3d *msh, FILE *fp, int flags); */
int Text3dSetAttr( BPy_Text3d * msh, char *name, PyObject * v );
diff --git a/source/blender/python/api2_2x/Text3d.h b/source/blender/python/api2_2x/Text3d.h
index dd42bb138d4..119d6720bf6 100644
--- a/source/blender/python/api2_2x/Text3d.h
+++ b/source/blender/python/api2_2x/Text3d.h
@@ -50,6 +50,11 @@
extern PyTypeObject Text3d_Type;
+int Text3d_CheckPyObject( PyObject * py_obj );
+PyObject *Text3d_Init( void );
+struct Text3d *Text3d_FromPyObject( PyObject * py_obj );
+
+
#define BPy_Text3d_Check(v) ((v)->ob_type==&Text3d_Type)
typedef Curve Text3d;
diff --git a/source/blender/python/api2_2x/modules.h b/source/blender/python/api2_2x/modules.h
index 1c6cba453e6..a9f7d703199 100644
--- a/source/blender/python/api2_2x/modules.h
+++ b/source/blender/python/api2_2x/modules.h
@@ -45,7 +45,7 @@ Their *_Init() method declarations are hacked in down below.
#include "Armature.h"
-/* #include "BGL.h" */
+#include "BGL.h"
#include "Blender.h"
#include "Camera.h"
#include "Curve.h"
@@ -69,6 +69,7 @@ Their *_Init() method declarations are hacked in down below.
#include "Sound.h"
#include "Sys.h"
#include "Text.h"
+#include "Text3d.h"
#include "Texture.h"
#include "Types.h"
#include "Window.h"