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>2019-05-20 08:06:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-20 09:26:37 +0300
commitc09f461e04baf43d06e4f95e5ba77aa1870f6981 (patch)
tree11ce88d52f76ea8f80d7476ea0f22c4f38c3cc08 /source/blender/windowmanager/WM_api.h
parent8f73559355480c732b1cc6f7dfb6db2662297313 (diff)
WM: add wmGenericUserData utility struct
Useful to have a generic user data with an optional custom free function, use for wmGesture.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r--source/blender/windowmanager/WM_api.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h
index 70f986732ad..346996285a4 100644
--- a/source/blender/windowmanager/WM_api.h
+++ b/source/blender/windowmanager/WM_api.h
@@ -67,6 +67,7 @@ struct wmMsgSubscribeValue;
struct wmOperator;
struct wmOperatorType;
struct wmPaintCursor;
+struct wmGenericUserData;
#ifdef WITH_INPUT_NDOF
struct wmNDOFMotionData;
@@ -795,6 +796,9 @@ void WM_tooltip_init(struct bContext *C, struct wmWindow *win);
void WM_tooltip_refresh(struct bContext *C, struct wmWindow *win);
double WM_tooltip_time_closed(void);
+/* wmGenericUserData */
+void WM_generic_user_data_free(struct wmGenericUserData *user_data);
+
#ifdef __cplusplus
}
#endif