]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Let doxygen expand FR_DLIST_HEAD() (#4907)
authorJames Jones <jejones3141@gmail.com>
Fri, 24 Feb 2023 20:27:37 +0000 (14:27 -0600)
committerGitHub <noreply@github.com>
Fri, 24 Feb 2023 20:27:37 +0000 (14:27 -0600)
FR_DLIST_HEAD() is a macro that expands to a type, and is used
to declare variables and parameters. By default doxygen doesn't
expand macros, and thus it is confused by seeing the macro invocation
rather than the type it expands to.

doc/doxygen/Doxyfile

index f6996b69d1572178bd73b402dd2b6eb5b4e678d2..a4a4aecddf1ad4f2bf5801ed62928dabb91e2200 100644 (file)
@@ -2155,7 +2155,7 @@ PREDEFINED             = WITH_STATS \
 # definition found in the source code.
 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
 
-EXPAND_AS_DEFINED      =
+EXPAND_AS_DEFINED      = FR_DLIST_HEAD
 
 # If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
 # remove all references to function-like macros that are alone on a line, have