diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-23 11:01:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-23 12:05:56 +0400 |
commit | b64f897606ecd1cc14ccbef9f54a054452e39a63 (patch) | |
tree | 09d6c5b512629646115d20956a4de41d0a9d3138 /source/blenderplayer/bad_level_call_stubs | |
parent | 12348318d1533c6ff62b9f4b1c64268fb13cefad (diff) |
WM: add WM_operatortype_remove_ptr to remove a known operator
Diffstat (limited to 'source/blenderplayer/bad_level_call_stubs')
-rw-r--r-- | source/blenderplayer/bad_level_call_stubs/stubs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blenderplayer/bad_level_call_stubs/stubs.c b/source/blenderplayer/bad_level_call_stubs/stubs.c index e0d27eb9b28..18422554dce 100644 --- a/source/blenderplayer/bad_level_call_stubs/stubs.c +++ b/source/blenderplayer/bad_level_call_stubs/stubs.c @@ -535,7 +535,8 @@ struct GHashIterator *WM_operatortype_iter() {STUB_ASSERT(0); return (struct GHa struct wmOperatorType *WM_operatortype_exists(const char *idname) {STUB_ASSERT(0); return (struct wmOperatorType *) NULL;} struct wmOperatorTypeMacro *WM_operatortype_macro_define(struct wmOperatorType *ot, const char *idname) {STUB_ASSERT(0); return (struct wmOperatorTypeMacro *) NULL;} int WM_operator_call_py(struct bContext *C, struct wmOperatorType *ot, short context, short is_undo, struct PointerRNA *properties, struct ReportList *reports) {STUB_ASSERT(0); return 0;} -int WM_operatortype_remove(const char *idname) {STUB_ASSERT(0); return 0;} +void WM_operatortype_remove_ptr(struct wmOperatorType *ot) {STUB_ASSERT(0); } +bool WM_operatortype_remove(const char *idname) {STUB_ASSERT(0); return 0;} int WM_operator_poll(struct bContext *C, struct wmOperatorType *ot) {STUB_ASSERT(0); return 0;} int WM_operator_poll_context(struct bContext *C, struct wmOperatorType *ot, int context) {STUB_ASSERT(0); return 0;} int WM_operator_props_popup(struct bContext *C, struct wmOperator *op, struct wmEvent *event) {STUB_ASSERT(0); return 0;} |