summaryrefslogtreecommitdiff
path: root/wayland-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'wayland-util.h')
-rw-r--r--wayland-util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/wayland-util.h b/wayland-util.h
index ffb6f6d..9da870c 100644
--- a/wayland-util.h
+++ b/wayland-util.h
@@ -82,5 +82,14 @@ void wl_list_remove(struct wl_list *elm);
int wl_list_length(struct wl_list *list);
int wl_list_empty(struct wl_list *list);
+struct wl_array {
+ uint32_t size;
+ uint32_t alloc;
+ void *data;
+};
+
+void wl_array_init(struct wl_array *array);
+void wl_array_release(struct wl_array *array);
+void *wl_array_add(struct wl_array *array, int size);
#endif