mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-27 06:46:40 -04:00
log: expose wl_debug_handler for custom print debug message
issue: https://gitlab.freedesktop.org/wayland/wayland/-/issues/534 Signed-off-by: guoyao <guoyao@uniontech.com>
This commit is contained in:
parent
9b169ff945
commit
1423fbffda
8 changed files with 33 additions and 1 deletions
|
|
@ -739,6 +739,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue