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
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user