Mercurial > molko
diff doc/docs/dev/api/core/trace.md @ 376:b75fa5f47bf0
doc: document presence of (panic|trace)_data
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 02 Nov 2021 15:35:53 +0100 |
parents | c4da052c0def |
children |
line wrap: on
line diff
--- a/doc/docs/dev/api/core/trace.md Tue Nov 02 15:22:14 2021 +0100 +++ b/doc/docs/dev/api/core/trace.md Tue Nov 02 15:35:53 2021 +0100 @@ -20,11 +20,16 @@ | Variable | Type | |---------------------------------|--------------------------| | [trace_handler](#trace_handler) | `void (*)(const char *)` | +| [trace_data](#trace_data) | `void *` | ### trace\_handler The default one use a simple printf on the standard output. +### trace\_data + +Placeholder data for the handler if needed. + ## Macros ### TRACE\_LINE\_MAX