ui: dialogue: +id_map

This commit is contained in:
2026-02-23 16:32:02 +02:00
parent acd03b2769
commit 57b858f98f
22 changed files with 106 additions and 28 deletions
+15
View File
@@ -0,0 +1,15 @@
#ifndef D_ARRAY_H
#define D_ARRAY_H
/* Dynamic array of numbers */
#include <stdint.h>
typedef struct d_array_ptr_t {
int64_t capacity;
int64_t length;
void **arr;
} d_array_ptr_t;
void init_d_arr_ptr(d_array_ptr_t *arr, int64_t init_capacity);
void add_d_arr_ptr(d_array_ptr_t *arr, void *ptr, int64_t idx);
void free_d_arr(d_array_ptr_t *arr);
#endif