# HG changeset patch # User Olaf Wintermann # Date 1750969092 -7200 # Node ID 0bce3325d255c582cce3deddfa88f9ca525c6a38 # Parent c948819bdfb2e42628292757eca95881946c8e42 add ui_list_set_data diff -r c948819bdfb2 -r 0bce3325d255 ui/common/wrapper.c --- a/ui/common/wrapper.c Thu Jun 26 22:01:44 2025 +0200 +++ b/ui/common/wrapper.c Thu Jun 26 22:18:12 2025 +0200 @@ -49,6 +49,10 @@ return list->data; } +void ui_list_set_data(UiList *list, void *data) { + list->data = data; +} + void* ui_list_get_iter(UiList *list) { return list->iter; }