mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
Advertise globals using a new display event.
This commit is contained in:
parent
0ab262421a
commit
bf967b469f
3 changed files with 62 additions and 61 deletions
|
|
@ -31,6 +31,8 @@
|
|||
#endif
|
||||
|
||||
#define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0])
|
||||
#define ALIGN(n, a) ( ((n) + ((a) - 1)) & ~((a) - 1) )
|
||||
#define DIV_ROUNDUP(n, a) ( ((n) + ((a) - 1)) / (a) )
|
||||
|
||||
#define container_of(ptr, type, member) ({ \
|
||||
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue