path: root/src
diff options
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-05-22 00:06:17 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-05-22 14:08:25 +0300
commitfd1cbe84476b25b458c3dbe78ec6c55e774ce435 (patch)
tree3336a9997faa2d086b5605753dcb4ad6823b0b4e /src
parentcc2139ec63c2d062b077c9c221917325c3f30f17 (diff)
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>
Diffstat (limited to 'src')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcamera/log.cpp b/src/libcamera/log.cpp
index 98595224..dd991647 100644
--- a/src/libcamera/log.cpp
+++ b/src/libcamera/log.cpp
@@ -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

Privacy Policy