libcamera: log: Hide value of the ASSERT() macro

ASSERT() is a function-like macro that expands to internal code. Hide
the expansion from the generated documentation, as it would only confuse
the reader.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Fricke <sebastian.fricke@posteo.net>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2021-05-22 00:06:17 +03:00
parent cc2139ec63
commit fd1cbe8447

View file

@ -990,6 +990,7 @@ LogMessage _log(const LogCategory *category, LogSeverity severity,
/**
* \def ASSERT(condition)
* \hideinitializer
* \brief Abort program execution if assertion fails
*
* If \a condition is false, ASSERT() logs an error message with the Fatal log