From 65fbab9f4d701202f9ae7013a8aa7b9fd93ac88b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 29 Dec 2008 03:24:13 +0000 Subject: 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 --- source/blender/python/intern/bpy_rna.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/python/intern/bpy_rna.h') 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 { -- cgit v1.2.3