diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-02 12:47:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-02 12:51:31 +0300 |
commit | b88e51dd55c62bdc160f33f9b2ae1727a892560a (patch) | |
tree | c9b9e00d51be18250df443c47ad31b1341a50f01 /source/blenderplayer | |
parent | bfbfb1c47e8c60732f45638513ed7e39bedc730a (diff) |
Cleanup: use bool for poll functions
Diffstat (limited to 'source/blenderplayer')
-rw-r--r-- | source/blenderplayer/bad_level_call_stubs/stubs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blenderplayer/bad_level_call_stubs/stubs.c b/source/blenderplayer/bad_level_call_stubs/stubs.c index 862ff23faf3..5c9b214eeff 100644 --- a/source/blenderplayer/bad_level_call_stubs/stubs.c +++ b/source/blenderplayer/bad_level_call_stubs/stubs.c @@ -689,8 +689,8 @@ struct wmOperatorTypeMacro *WM_operatortype_macro_define(struct wmOperatorType * int WM_operator_call_py(struct bContext *C, struct wmOperatorType *ot, short context, struct PointerRNA *properties, struct ReportList *reports, const bool is_undo) RET_ZERO void WM_operatortype_remove_ptr(struct wmOperatorType *ot) RET_NONE bool WM_operatortype_remove(const char *idname) RET_ZERO -int WM_operator_poll(struct bContext *C, struct wmOperatorType *ot) RET_ZERO -int WM_operator_poll_context(struct bContext *C, struct wmOperatorType *ot, short context) RET_ZERO +bool WM_operator_poll(struct bContext *C, struct wmOperatorType *ot) RET_ZERO +bool WM_operator_poll_context(struct bContext *C, struct wmOperatorType *ot, short context) RET_ZERO int WM_operator_props_popup(struct bContext *C, struct wmOperator *op, const struct wmEvent *event) RET_ZERO void WM_operator_properties_free(struct PointerRNA *ptr) RET_NONE void WM_operator_properties_create(struct PointerRNA *ptr, const char *opstring) RET_NONE |