]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
doc/doxygen: configure macro expansion and edge cases
authorTomas Krizek <tomas.krizek@nic.cz>
Tue, 14 Apr 2020 11:06:09 +0000 (13:06 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 15 Apr 2020 08:28:51 +0000 (10:28 +0200)
Configure doxygen to expand/ignore some macros like KR_EXPORT.

Skip some edge-case symbols that would be difficult to fix otherwise.

doc/Doxyfile

index 9e1e1acf8e7792b81879f12e73688992233caa03..84911fc0c300a7c8df08082357f21baa10466e83 100644 (file)
@@ -17,4 +17,7 @@ HIDE_UNDOC_MEMBERS = YES
 HIDE_UNDOC_CLASSES = YES
 OPTIMIZE_OUTPUT_FOR_C = YES
 ENABLE_PREPROCESSING  = YES
-PREDEFINED        = NDEBUG
+MACRO_EXPANSION   = YES
+EXPAND_ONLY_PREDEF     = YES
+PREDEFINED        = NDEBUG KR_CONST= KR_EXPORT= KR_PURE= lru_t(type)=see_source_code KR_PRINTF(n)= KR_COLD= array_t(type)=see_source_code
+EXCLUDE_SYMBOLS = static_assert uint set_walk_cb module_api_cb kr_prop_cb kr_straddr_split