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:
authorMichel Selten <michel@mselten.demon.nl>2003-03-08 21:10:20 +0300
committerMichel Selten <michel@mselten.demon.nl>2003-03-08 21:10:20 +0300
commitf08719cfc6d934fa27db2777ddfde775a6e8271e (patch)
treece6c69636d135f92463f646ebfebab33c5980811 /source/blender/python/api2_2x/modules.h
parentcf741a99a9120095f6d6578efcdf3d997385c353 (diff)
Swig is unfortunately not an option anymore. This means implementing all
wrapper functionality by hand. * Removed the swig files (*.i and *_wrap.c) * Created initial datablock functionality. Most of it has been copied from the old implementation. * Created some general functions in gen_utils.[ch] * Blender.Get(), Blender.Set() and Blender.Redraw functions should work in a script now. * Started implementation on an Event function call (BPY_do_pyscript) Michel
Diffstat (limited to 'source/blender/python/api2_2x/modules.h')
-rw-r--r--source/blender/python/api2_2x/modules.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/modules.h b/source/blender/python/api2_2x/modules.h
index 08d3061c8d4..40316769e64 100644
--- a/source/blender/python/api2_2x/modules.h
+++ b/source/blender/python/api2_2x/modules.h
@@ -30,6 +30,13 @@
*/
#include <Python.h>
+/*****************************************************************************/
+/* Global variables */
+/*****************************************************************************/
+PyObject *g_blenderdict;
+
+extern struct PyMethodDef Object_methods[];
+
void initBlender (void);
PyObject* initObject (void);