[PATCH] libosmocore[master]: [doc] Ensure stats.h is parsed properly for Doxygen

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Oct 16 20:42:17 UTC 2017

Review at  https://gerrit.osmocom.org/4297

[doc] Ensure stats.h is parsed properly for Doxygen

stats.h uses a rather crude '#ifdef unix' hack, which means that Doxygen
will not scan the body of the file.  This patch ensures 'unix' is defined
to parse the stats.h body and thus have all relevant information in it
is parsed.

Change-Id: I65384e5cc01f2ad7783cf6b71ab78b4422902aa1
M Doxyfile.core.in
1 file changed, 1 insertion(+), 1 deletion(-)

  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/97/4297/1

diff --git a/Doxyfile.core.in b/Doxyfile.core.in
index c47ff3c..7a3cce5 100644
--- a/Doxyfile.core.in
+++ b/Doxyfile.core.in
@@ -1447,7 +1447,7 @@
 # undefined via #undef or recursively expanded use the := operator
 # instead of the = operator.
-PREDEFINED             =
+PREDEFINED             = "unix=1"
 # 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.

To view, visit https://gerrit.osmocom.org/4297
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I65384e5cc01f2ad7783cf6b71ab78b4422902aa1
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>

More information about the gerrit-log mailing list