wayland/src
Simon Ser 5eb5620cbd Use zalloc for structs
When allocating memory for structs, use zalloc instead of malloc.
This ensures the memory is zero-initialized, and reduces the risk
of forgetting to initialize all struct fields.

Signed-off-by: Simon Ser <contact@emersion.fr>
2022-02-05 14:25:19 +00:00
..
.gitignore ignore: Add *.dtd.embed 2016-03-10 22:24:20 -08:00
connection.c Use zalloc for structs 2022-02-05 14:25:19 +00:00
embed.py build: replace assembly embedding with Python script 2021-05-10 22:08:45 +00:00
event-loop.c Use zalloc for structs 2022-02-05 14:25:19 +00:00
meson.build meson: override dependencies to ease use as subproject 2021-12-08 00:27:58 +01:00
scanner.c scanner: Use the new atomic marshal/destroy function 2021-08-07 11:53:23 +00:00
wayland-client-core.h client: Add new proxy marshalling functions with flags 2021-08-07 11:53:23 +00:00
wayland-client.c Use zalloc for structs 2022-02-05 14:25:19 +00:00
wayland-client.h doc: Formalize file comment in wayland-client.h, wayland-server.h 2016-05-11 11:03:27 -07:00
wayland-os.c Detect FreeBSD versions with broken MSG_CMSG_CLOEXEC 2021-09-10 11:35:54 +00:00
wayland-os.h shm: Add mmap+memmove fallback if mremap() does not exist 2021-09-10 11:35:54 +00:00
wayland-private.h debug: Fix printing of new ids 2021-11-02 11:27:51 +00:00
wayland-server-core.h server: add wl_display getter for wl_global 2021-03-05 09:12:33 +00:00
wayland-server-private.h Move wl_priv_signal to wayland-server-private.h 2019-11-06 08:24:14 -06:00
wayland-server.c Use zalloc for structs 2022-02-05 14:25:19 +00:00
wayland-server.h wayland-server: Finally remove deprecated struct wl_buffer definition 2018-07-25 12:08:16 -05:00
wayland-shm.c Use zalloc for structs 2022-02-05 14:25:19 +00:00
wayland-util.c util: Avoid undefined behaviour in for_each_helper 2021-07-21 11:42:42 +00:00
wayland-util.h util: fix compiler warning 2020-02-24 11:02:44 +00:00
wayland-version.h.in src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-12 15:31:24 -07:00