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:
Diffstat (limited to 'source/blender/windowmanager/intern/wm_menu_type.c')
-rw-r--r--source/blender/windowmanager/intern/wm_menu_type.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_menu_type.c b/source/blender/windowmanager/intern/wm_menu_type.c
index c4491423d82..dc4efe79433 100644
--- a/source/blender/windowmanager/intern/wm_menu_type.c
+++ b/source/blender/windowmanager/intern/wm_menu_type.c
@@ -57,6 +57,11 @@ MenuType *WM_menutype_find(const char *idname, bool quiet)
return NULL;
}
+void WM_menutype_iter(GHashIterator *ghi)
+{
+ BLI_ghashIterator_init(ghi, menutypes_hash);
+}
+
bool WM_menutype_add(MenuType *mt)
{
BLI_assert((mt->description == NULL) || (mt->description[0]));