[FFmpeg-devel] [PATCH v3 27/54] doc/Doxyfile: Add FF_PAD_STRUCTURE to PREDEFINED

Marvin Scholz epirat07 at gmail.com
Sun Sep 25 03:10:54 EEST 2022


The FF_PAD_STRUCTURE is too complex for doxygen to be able to
properly handle, resulting in completely broken AVBPrint documentation.

To fix that, tell Doxygen what to expand that macro to.
---
 doc/Doxyfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/Doxyfile b/doc/Doxyfile
index 0891899505..572c532da5 100644
--- a/doc/Doxyfile
+++ b/doc/Doxyfile
@@ -1980,6 +1980,7 @@ PREDEFINED             = __attribute__(x)= \
                          av_alloc_size(...)= \
                          AV_GCC_VERSION_AT_LEAST(x,y)=1 \
                          AV_GCC_VERSION_AT_MOST(x,y)=0 \
+                         "FF_PAD_STRUCTURE(name,size,...)=typedef struct name { __VA_ARGS__ } name;" \
                          __GNUC__
 
 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
-- 
2.37.0 (Apple Git-136)



More information about the ffmpeg-devel mailing list