From 260b96faf9cd22c3eda7c7a339a82a7ae3d3a59f Mon Sep 17 00:00:00 2001 From: Alex Bates Date: Sun, 21 Jan 2024 20:37:36 +0000 Subject: [PATCH] fix doxygen not parsing API_CALLABLE (#1157) --- Doxyfile | 8 ++++---- include/script_api/common.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Doxyfile b/Doxyfile index 9e23483299..23d3e0dc7e 100644 --- a/Doxyfile +++ b/Doxyfile @@ -2391,7 +2391,7 @@ MACRO_EXPANSION = YES # The default value is: NO. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -EXPAND_ONLY_PREDEF = YES +EXPAND_ONLY_PREDEF = NO # If the SEARCH_INCLUDES tag is set to YES, the include files in the # INCLUDE_PATH will be searched if a #include is found. @@ -2424,7 +2424,7 @@ INCLUDE_FILE_PATTERNS = # recursively expanded use the := operator instead of the = operator. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -PREDEFINED = N(x)=x +PREDEFINED = # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this # tag can be used to specify a list of macro names that should be expanded. The @@ -2433,7 +2433,7 @@ PREDEFINED = N(x)=x # definition found in the source code. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -EXPAND_AS_DEFINED = API_CALLABLE +EXPAND_AS_DEFINED = # 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 @@ -2443,7 +2443,7 @@ EXPAND_AS_DEFINED = API_CALLABLE # The default value is: YES. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -SKIP_FUNCTION_MACROS = YES +SKIP_FUNCTION_MACROS = NO #--------------------------------------------------------------------------- # Configuration options related to external references diff --git a/include/script_api/common.h b/include/script_api/common.h index 9792a60d07..b1ab50cb65 100644 --- a/include/script_api/common.h +++ b/include/script_api/common.h @@ -8,7 +8,7 @@ #ifndef _SCRIPT_API_COMMON_H_ #define _SCRIPT_API_COMMON_H_ -#include "common_structs.h" +#include "../common.h" #include "macros.h" /// @{