From eabf7ab3351ade8415cd38d6faf2cfba79ba7400 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 13 Oct 2013 00:32:31 +0000 Subject: code cleanup: utility function for getting a bool as a string. --- source/blender/windowmanager/WM_keymap.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/windowmanager/WM_keymap.h') diff --git a/source/blender/windowmanager/WM_keymap.h b/source/blender/windowmanager/WM_keymap.h index 121e5e401fa..eab27286709 100644 --- a/source/blender/windowmanager/WM_keymap.h +++ b/source/blender/windowmanager/WM_keymap.h @@ -98,6 +98,8 @@ const char *WM_key_event_string(short type); int WM_key_event_operator_id(const struct bContext *C, const char *opname, int opcontext, struct IDProperty *properties, int hotkey, struct wmKeyMap **keymap_r); char *WM_key_event_operator_string(const struct bContext *C, const char *opname, int opcontext, struct IDProperty *properties, const bool strict, char *str, int len); +const char *WM_bool_as_string(bool test); + #ifdef __cplusplus } #endif -- cgit v1.2.3