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:
authorCampbell Barton <ideasman42@gmail.com>2008-12-29 06:24:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-12-29 06:24:13 +0300
commit65fbab9f4d701202f9ae7013a8aa7b9fd93ac88b (patch)
tree25eff8379ee9e4a16203df373adca755d4c5348a /source/blender/python/intern/bpy_rna.h
parentb6b61681efd322bd800bcaba55099cdf147547b2 (diff)
added RNA access to operators pointers to be documented with epy_doc_gen.py.
eg: print (bpyoperator.VIEW3D_OT_viewnumpad.rna.__members__) docs for bpyoperator http://www.graphicall.org/ftp/ideasman42/html/bpyoperator-module.html
Diffstat (limited to 'source/blender/python/intern/bpy_rna.h')
-rw-r--r--source/blender/python/intern/bpy_rna.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_rna.h b/source/blender/python/intern/bpy_rna.h
index 2cf4a57f76d..8f21e6d80c8 100644
--- a/source/blender/python/intern/bpy_rna.h
+++ b/source/blender/python/intern/bpy_rna.h
@@ -28,6 +28,7 @@
#include "RNA_access.h"
#include "RNA_types.h"
+#include "BKE_idprop.h"
extern PyTypeObject pyrna_struct_Type;
extern PyTypeObject pyrna_prop_Type;
@@ -35,6 +36,7 @@ extern PyTypeObject pyrna_prop_Type;
typedef struct {
PyObject_VAR_HEAD /* required python macro */
PointerRNA ptr;
+ IDProperty *properties; /* needed in some cases for RNA_pointer_create(), free when deallocing */
} BPy_StructRNA;
typedef struct {