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
diff options
context:
space:
mode:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-05-31 08:43:10 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2003-05-31 08:43:10 +0400
commit302479603b6ae471e0079617cfe3a2e98e74c249 (patch)
treedda4ea3284e85cea514f02fdac331c65e8618b12 /source/blender/python/api2_2x/modules.h
parent721fa5479c84466f2b0c15a1781cae874875f622 (diff)
* Updated NMesh port to exppython:
Added material and image handling/hooks and the constant dictionaries. Changed Image.h and Material.h to only have public declarations, so NMesh could include them.
Diffstat (limited to 'source/blender/python/api2_2x/modules.h')
-rw-r--r--source/blender/python/api2_2x/modules.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/modules.h b/source/blender/python/api2_2x/modules.h
index 7a0942a1150..a9d4f39121e 100644
--- a/source/blender/python/api2_2x/modules.h
+++ b/source/blender/python/api2_2x/modules.h
@@ -40,6 +40,7 @@
#include <DNA_curve_types.h>
#include <DNA_effect_types.h>
#include <DNA_armature_types.h>
+#include <DNA_image_types.h>
/*****************************************************************************/
/* Global variables */
@@ -99,9 +100,13 @@ struct Effect * EffectFromPyObject (PyObject *py_obj);
int EffectCheckPyObject (PyObject *py_obj);
*/
+/* Image */
+PyObject * M_Image_Init (void);
+PyObject * ImageCreatePyObject (Image *image);
+int Image_checkPyObject (PyObject *pyobj);
+
/* Init functions for other modules */
PyObject * M_Window_Init (void);
-PyObject * M_Image_Init (void);
PyObject * M_Draw_Init (void);
PyObject * M_BGL_Init (void);
PyObject * M_Text_Init (void);