|
Blender
V2.59
|
#include <Python.h>#include "bpy_operator_wrap.h"#include "WM_api.h"#include "WM_types.h"#include "BLI_utildefines.h"#include "RNA_access.h"#include "RNA_define.h"#include "bpy_rna.h"Go to the source code of this file.
Functions | |
| static void | operator_properties_init (wmOperatorType *ot) |
| void | operator_wrapper (wmOperatorType *ot, void *userdata) |
| void | macro_wrapper (wmOperatorType *ot, void *userdata) |
| PyObject * | PYOP_wrap_macro_define (PyObject *UNUSED(self), PyObject *args) |
Definition in file bpy_operator_wrap.c.
| void macro_wrapper | ( | wmOperatorType * | ot, |
| void * | userdata | ||
| ) |
Definition at line 80 of file bpy_operator_wrap.c.
References wmOperatorType::description, wmOperatorType::ext, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, operator_properties_init(), wmOperatorType::pyop_poll, and wmOperatorType::ui.
| static void operator_properties_init | ( | wmOperatorType * | ot | ) | [static] |
Definition at line 43 of file bpy_operator_wrap.c.
References ExtensionRNA::data, wmOperatorType::ext, wmOperatorType::idname, pyrna_deferred_register_class(), RNA_def_struct_identifier(), RNA_struct_blender_type_set(), ExtensionRNA::srna, and wmOperatorType::srna.
Referenced by macro_wrapper(), and operator_wrapper().
| void operator_wrapper | ( | wmOperatorType * | ot, |
| void * | userdata | ||
| ) |
Definition at line 59 of file bpy_operator_wrap.c.
References NULL, operator_properties_init(), wmOperatorType::prop, RNA_pointer_create(), RNA_struct_find_property(), and wmOperatorType::srna.
| PyObject* PYOP_wrap_macro_define | ( | PyObject * | UNUSEDself, |
| PyObject * | args | ||
| ) |
Definition at line 96 of file bpy_operator_wrap.c.
References NULL, pyrna_struct_CreatePyObject(), RNA_OperatorTypeMacro, RNA_pointer_create(), RNA_struct_identifier(), srna_from_self(), TRUE, WM_operatortype_find(), and WM_operatortype_macro_define().