Merge branch 'main' into 'main'

log: expose wl_debug_handler for custom print debug message

See merge request wayland/wayland!466
This commit is contained in:
groveer 2026-01-16 15:43:20 +00:00
commit 4335ea09a7
8 changed files with 33 additions and 1 deletions

View file

@ -747,6 +747,7 @@ typedef int (*wl_dispatcher_func_t)(const void *user_data, void *target,
* \sa wl_log_set_handler_server
*/
typedef void (*wl_log_func_t)(const char *fmt, va_list args) WL_PRINTF(1, 0);
typedef wl_log_func_t wl_debug_func_t;
/**
* Return value of an iterator function