mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-27 05:50:11 +01:00
Log subscriber API is not type-safe. File and flight recorder subscribers are created with functions that return weston_log_subscriber objects. But there's a problem: to destroy these objects you have to call the right function for each type of subscriber, and a user calling the wrong destroy function wouldn't get a warning. Merge functions that destroy different types of subscribers, making the log subscriber API type-safe. Signed-off-by: Leandro Ribeiro <leandrohr@riseup.net> |
||
|---|---|---|
| .. | ||
| backend-drm.h | ||
| backend-fbdev.h | ||
| backend-headless.h | ||
| backend-rdp.h | ||
| backend-wayland.h | ||
| backend-x11.h | ||
| config-parser.h | ||
| libweston.h | ||
| matrix.h | ||
| meson.build | ||
| plugin-registry.h | ||
| version.h.in | ||
| weston-log.h | ||
| windowed-output-api.h | ||
| xwayland-api.h | ||
| zalloc.h | ||