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>2009-03-14 16:43:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-03-14 16:43:30 +0300
commitd297058910f121c619ef90b29070f62964e905e2 (patch)
tree52471816b24af253e62e01dd755c6699b0747322 /source/blender/python/intern/bpy_operator.h
parentb907b9fd9b625bacb4500fb21b791bb109e1d10d (diff)
return operators as a PyCFunction rather then having our own callable operator type
Diffstat (limited to 'source/blender/python/intern/bpy_operator.h')
-rw-r--r--source/blender/python/intern/bpy_operator.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/python/intern/bpy_operator.h b/source/blender/python/intern/bpy_operator.h
index 2dfd17bb01b..8eb0b887baa 100644
--- a/source/blender/python/intern/bpy_operator.h
+++ b/source/blender/python/intern/bpy_operator.h
@@ -33,28 +33,15 @@
#include "BKE_context.h"
extern PyTypeObject pyop_base_Type;
-extern PyTypeObject pyop_func_Type;
#define BPy_OperatorBase_Check(v) (PyObject_TypeCheck(v, &pyop_base_Type))
-#define BPy_OperatorFunc_Check(v) (PyObject_TypeCheck(v, &pyop_func_Type))
-
typedef struct {
PyObject_HEAD /* required python macro */
- bContext *C;
} BPy_OperatorBase;
-typedef struct {
- PyObject_HEAD /* required python macro */
- char name[OP_MAX_TYPENAME];
- bContext *C;
-} BPy_OperatorFunc;
-
PyObject *BPY_operator_module(bContext *C );
-PyObject *pyop_base_CreatePyObject(bContext *C );
-PyObject *pyop_func_CreatePyObject(bContext *C, char *name );
-
/* fill in properties from a python dict */
int PYOP_props_from_dict(PointerRNA *ptr, PyObject *kw);