Blender V4.5
bpy_operator_wrap.hh File Reference
#include <Python.h>

Go to the source code of this file.

Functions

PyObject * PYOP_wrap_macro_define (PyObject *self, PyObject *args)
void BPY_RNA_operator_wrapper (wmOperatorType *ot, void *userdata)
void BPY_RNA_operator_macro_wrapper (wmOperatorType *ot, void *userdata)

Function Documentation

◆ BPY_RNA_operator_macro_wrapper()

◆ BPY_RNA_operator_wrapper()

void BPY_RNA_operator_wrapper ( wmOperatorType * ot,
void * userdata )

Generic function used by all Python defined operators it's passed as an argument to WM_operatortype_append_ptr in for operator registration.

Definition at line 86 of file bpy_operator_wrap.cc.

References BPY_RNA_operator_wrapper(), operator_properties_init(), RNA_def_struct_translation_context(), wmOperatorType::rna_ext, RNA_struct_translation_context(), ExtensionRNA::srna, and wmOperatorType::srna.

Referenced by BPY_RNA_operator_wrapper().

◆ PYOP_wrap_macro_define()

PyObject * PYOP_wrap_macro_define ( PyObject * self,
PyObject * args )