Doxygen fix for FL_DEPRECATED

This commit is contained in:
Matthias Melcher 2023-02-05 00:21:35 +01:00
parent 130a1c21a7
commit fa9915e1e3
2 changed files with 8 additions and 6 deletions

View File

@ -54,10 +54,12 @@
FL_DEPRECATED("Outdated, don't use", int position()) { return position_; }
\endcode
*/
#define FL_DEPRECATED(msg, func) [[deprecated(msg)]] func
#define FL_DEPRECATED(msg, func) \
/##*##* \deprecated msg *##/ \
func
#else
#else /* FL_DOXYGEN */
/*

View File

@ -1225,13 +1225,13 @@ ENABLE_PREPROCESSING = YES
# compilation will be performed. Macro expansion can be done in a controlled
# way by setting EXPAND_ONLY_PREDEF to YES.
MACRO_EXPANSION = NO
MACRO_EXPANSION = YES
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
# then the macro expansion is limited to the macros specified with the
# PREDEFINED and EXPAND_AS_DEFINED tags.
EXPAND_ONLY_PREDEF = NO
EXPAND_ONLY_PREDEF = YES
# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
# in the INCLUDE_PATH (see below) will be search if a #include is found.
@ -1265,14 +1265,14 @@ PREDEFINED = FL_DOXYGEN \
HAVE_GL \
HAVE_GL_OVERLAY \
FL_EXPORT:= \
__cplusplus
__cplusplus
# 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 macro definition that is found in the sources will be used.
# Use the PREDEFINED tag if you want to use a different macro definition.
EXPAND_AS_DEFINED =
EXPAND_AS_DEFINED = FL_DEPRECATED
# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
# doxygen's preprocessor will remove all function-like macros that are alone