mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-18 06:47:31 -04:00
Merge branch 'sunli1/wlroots-output_layers_v3' into 'master'
wlr_scene: Implement Output Layers See merge request wlroots/wlroots!4348
This commit is contained in:
commit
51e76f9000
6 changed files with 581 additions and 66 deletions
|
|
@ -15,4 +15,15 @@ void array_remove_at(struct wl_array *arr, size_t offset, size_t size);
|
|||
*/
|
||||
bool array_realloc(struct wl_array *arr, size_t size);
|
||||
|
||||
/**
|
||||
* Returns a pointer to the first valid element in a reversed array.
|
||||
*/
|
||||
void *array_reversed_start(struct wl_array *arr);
|
||||
|
||||
/**
|
||||
* Adds a new element to the array inserting them starting from a higher
|
||||
* memory address effectively inserting them in reverse order.
|
||||
*/
|
||||
void *array_reversed_add(struct wl_array *arr, size_t size);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue