diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-27 17:54:34 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-27 17:54:34 +0400 |
commit | 492af7cc6b1c0e986eaef42b2a2573a5ee4ee1da (patch) | |
tree | aa4419e9cd3a4a62495b4c54660c104c16836748 /source/blender/python/bmesh/bmesh_py_ops_call.h | |
parent | 2d5b8172e941d0d21295dd1681309b19c70e927e (diff) |
move bmesh operator calling into its own file.
Diffstat (limited to 'source/blender/python/bmesh/bmesh_py_ops_call.h')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_ops_call.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_ops_call.h b/source/blender/python/bmesh/bmesh_py_ops_call.h index 3bdf1e36b20..d350aec8f7f 100644 --- a/source/blender/python/bmesh/bmesh_py_ops_call.h +++ b/source/blender/python/bmesh/bmesh_py_ops_call.h @@ -30,4 +30,12 @@ #ifndef __BMESH_PY_OPS_CALL_H__ #define __BMESH_PY_OPS_CALL_H__ +typedef struct { + PyObject_HEAD /* required python macro */ + const char *opname; +} BPy_BMeshOpFunc; + + +PyObject *BPy_BMO_call(BPy_BMeshOpFunc *self, PyObject *args, PyObject *kw); + #endif /* __BMESH_PY_OPS_CALL_H__ */ |