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-06-07 07:49:45 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2003-06-07 07:49:45 +0400
commitad61dd37ef059b14b8e929d14d64306dcc4ba207 (patch)
tree7d7beaf7af3256225151c532321537602c37f893 /source/blender/python/api2_2x/modules.h
parentb499fac975115444e18bcaa3ac6ec5a82592ffaa (diff)
* Improved error checking in BPY_interface.c:
Applied a fix suggested by Guignot * Added part of Module Blender.Scene. * Added doxygen comments to Camera.c .
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 dcfb2b1658d..05dc1a5f152 100644
--- a/source/blender/python/api2_2x/modules.h
+++ b/source/blender/python/api2_2x/modules.h
@@ -34,6 +34,7 @@
#include <Python.h>
+#include <DNA_scene_types.h>
#include <DNA_object_types.h>
#include <DNA_camera_types.h>
#include <DNA_lamp_types.h>
@@ -62,6 +63,12 @@ PyObject * M_ObjectCreatePyObject (struct Object *obj);
int M_ObjectCheckPyObject (PyObject *py_obj);
struct Object * M_ObjectFromPyObject (PyObject *py_obj);
+/* Scene */
+PyObject * M_Scene_Init (void);
+PyObject * Scene_CreatePyObject (struct Scene *sce);
+Scene * Scene_FromPyObject (PyObject *pyobj);
+int Scene_CheckPyObject (PyObject *pyobj);
+
/* Types */
PyObject * M_Types_Init (void);