|
|
@ -4,6 +4,7 @@
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
#include <wayland-util.h>
|
|
|
|
|
|
|
|
|
|
|
|
size_t push_zeroes_to_end(uint32_t arr[], size_t n);
|
|
|
|
size_t push_zeroes_to_end(uint32_t arr[], size_t n);
|
|
|
|
|
|
|
|
|
|
|
@ -21,4 +22,9 @@ bool set_add(uint32_t values[], size_t *len, size_t cap, uint32_t target);
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
bool set_remove(uint32_t values[], size_t *len, size_t cap, uint32_t target);
|
|
|
|
bool set_remove(uint32_t values[], size_t *len, size_t cap, uint32_t target);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Remove a chunk of memory of the specified size at the specified offset.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
void array_remove_at(struct wl_array *arr, size_t offset, size_t size);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|