mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-05-04 06:46:32 -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
|
|
@ -236,7 +236,9 @@ void
|
|||
wl_closure_destroy(struct wl_closure *closure);
|
||||
|
||||
extern wl_log_func_t wl_log_handler;
|
||||
extern wl_debug_func_t wl_debug_handler;
|
||||
|
||||
void wl_debug(const char *fmt, ...);
|
||||
void wl_log(const char *fmt, ...);
|
||||
void wl_abort(const char *fmt, ...);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue