ui/common/types.c

changeset 27
c254ed644edf
parent 26
40d6af793c1a
--- a/ui/common/types.c	Fri Feb 09 16:50:23 2024 +0100
+++ b/ui/common/types.c	Sun Feb 11 13:59:02 2024 +0100
@@ -150,6 +150,10 @@
     cxListInsert(list->data, 0, data);
 }
 
+void ui_list_remove(UiList *list, int i) {
+    cxListRemove(list->data, i);
+}
+
 void ui_list_clear(UiList *list) {
     cxListClear(list->data);
 }

mercurial