From e58b5fa39f1e4b6d86ebc40cdf17d7dc9030e661 Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Tue, 20 Apr 2021 11:34:35 +0200 Subject: libcamera: class: Drop 'klass' argument from documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The LIBCAMERA_D_PTR() and LIBCAMERA_O_PTR() macros do not require an argument, but the version of the macro consumed by Doxygen does. Fix this by removing the klass parameter from both macros in their documentation version. Reviewed-by: Laurent Pinchart Reviewed-by: Niklas Söderlund Signed-off-by: Jacopo Mondi --- src/libcamera/class.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/libcamera/class.cpp b/src/libcamera/class.cpp index 171f7c0a..28c35633 100644 --- a/src/libcamera/class.cpp +++ b/src/libcamera/class.cpp @@ -95,9 +95,8 @@ namespace libcamera { */ /** - * \def LIBCAMERA_D_PTR(klass) + * \def LIBCAMERA_D_PTR() * \brief Retrieve the private data pointer - * \param[in] klass The public class name * * This macro can be used in any member function of a class that inherits, * directly or indirectly, from the Extensible class, to create a local @@ -105,9 +104,8 @@ namespace libcamera { */ /** - * \def LIBCAMERA_O_PTR(klass) + * \def LIBCAMERA_O_PTR() * \brief Retrieve the public instance corresponding to the private data - * \param[in] klass The public class name * * This macro is the counterpart of LIBCAMERA_D_PTR() for private data classes. * It can be used in any member function of the private data class to create a -- cgit v1.2.1