Array list iterator

This commit is contained in:
Krzosa Karol
2022-07-08 12:48:25 +02:00
parent 70d1006ece
commit 0e7a4a15aa
2 changed files with 37 additions and 30 deletions

2
ui.cpp
View File

@@ -62,7 +62,7 @@ function UIWidget *ui_new_widget(Allocator *arena, UIWidgetKind kind) {
}
function void ui_push_child(UIWidget *widget, UIWidget *child) {
DLLQueuePush(widget->first_child, widget->last_child, child);
DLLQueueAdd(widget->first_child, widget->last_child, child);
}
function UIWidget *ui_push_child(Arena *arena, UIWidget *widget, UIWidgetKind kind) {