[libcamera-devel] [PATCH] Documentation: Exclude bound_method.{h, cpp}

Kieran Bingham kieran.bingham at ideasonboard.com
Fri Sep 13 10:17:01 CEST 2019


Hi Laurent

On 12/09/2019 20:57, Laurent Pinchart wrote:
> The bound method classes are not part of the public API, even though
> they need to be exposed to applications due to the Object and Signal
> template methods that use them. They are excluded from documentation
> generation through EXCLUDE_SYMBOLS, but the corresponding .h file is
> still listed in the generated documentation. Fix this by excluding the
> bound_method.{h,cpp} files themselves.

I agree we probably don't want to document this for library users to
use, but do we need to mark this in any special way to denote that this
file will be part of the ABI, or perhaps that's implied by the location
in TOP_SRCDIR/include.

Either way,

Acked-by: Kieran Bingham <kieran.bingham at ideasonboard.com>


> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
>  Documentation/Doxyfile.in | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/Doxyfile.in b/Documentation/Doxyfile.in
> index a9596c2a32d8..db939abc8319 100644
> --- a/Documentation/Doxyfile.in
> +++ b/Documentation/Doxyfile.in
> @@ -833,7 +833,9 @@ RECURSIVE              = YES
>  # Note that relative paths are relative to the directory from which doxygen is
>  # run.
>  
> -EXCLUDE                = @TOP_SRCDIR@/src/libcamera/device_enumerator_sysfs.cpp \
> +EXCLUDE                = @TOP_SRCDIR@/include/libcamera/bound_method.h \
> +			 @TOP_SRCDIR@/src/libcamera/bound_method.cpp \
> +			 @TOP_SRCDIR@/src/libcamera/device_enumerator_sysfs.cpp \
>  			 @TOP_SRCDIR@/src/libcamera/device_enumerator_udev.cpp \
>  			 @TOP_SRCDIR@/src/libcamera/include/device_enumerator_sysfs.h \
>  			 @TOP_SRCDIR@/src/libcamera/include/device_enumerator_udev.h \
> 

-- 
Regards
--
Kieran


More information about the libcamera-devel mailing list