summaryrefslogtreecommitdiff
path: root/src/libcamera/control_ids.cpp.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/control_ids.cpp.in')
-rw-r--r--src/libcamera/control_ids.cpp.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/libcamera/control_ids.cpp.in b/src/libcamera/control_ids.cpp.in
index f699ac9e..dd543382 100644
--- a/src/libcamera/control_ids.cpp.in
+++ b/src/libcamera/control_ids.cpp.in
@@ -16,9 +16,20 @@
namespace libcamera {
+/**
+ * \brief Namespace for libcamera controls
+ */
namespace controls {
-${controls}
+${controls_doc}
+
+#ifndef __DOXYGEN__
+/*
+ * Keep the controls definitions hidden from doxygen as it incorrectly parses
+ * them as functions.
+ */
+${controls_def}
+#endif
} /* namespace controls */