[PATCH wayland] util: Document wl_log_func_t
Daniel Stone
daniel at fooishbar.org
Mon Nov 21 11:28:53 UTC 2016
Hi Yong,
On 20 November 2016 at 16:59, Yong Bakos <junk at humanoriented.com> wrote:
> +/**
> + * Log function type alias
> + *
> + * The C implementation of the Wayland protocol abstracts the details of
> + * logging. Users may customize the logging behavior, with a function conforming
> + * to the `wl_log_func_t` type, via `wl_log_set_handler_client` and
> + * `wl_log_set_handler_server`.
> + *
> + * A `wl_log_func_t` typically conforms to the expectations of `vprintf`, and
Hope you don't mind, but I felt like 'typically' was an invitation
towards disaster, so I strengthened that while pushing.
To ssh://git.freedesktop.org/git/wayland/wayland
8477664..b05baa6 master -> master
Cheers,
Daniel
More information about the wayland-devel
mailing list