From: Thomas Monjalon Date: Tue, 5 Nov 2013 11:09:12 +0000 (+0100) Subject: doc: fix doxygen parsing of __attribute__ X-Git-Tag: spdx-start~10988 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d0d2e6a505cddf6977ac1c9dc5d38c5aeaecfeed;p=dpdk.git doc: fix doxygen parsing of __attribute__ Ignore __attribute__ because it was wrongly parsed as an identifier. This configuration is described in http://www.stack.nl/~dimitri/doxygen/manual/preprocessing.html Reported-by: Cyril Cressent Signed-off-by: Thomas Monjalon Acked-by: Olivier Matz --- diff --git a/doc/doxy-api.conf b/doc/doxy-api.conf index 7ea692a463..749db78262 100644 --- a/doc/doxy-api.conf +++ b/doc/doxy-api.conf @@ -47,9 +47,13 @@ INPUT = doc/doxy-api-index.md \ FILE_PATTERNS = rte_*.h \ cmdline.h PREDEFINED = __DOXYGEN__ \ + __attribute__(x)= \ RTE_MBUF_SCATTER_GATHER OPTIMIZE_OUTPUT_FOR_C = YES +ENABLE_PREPROCESSING = YES +MACRO_EXPANSION = YES +EXPAND_ONLY_PREDEF = YES EXTRACT_STATIC = YES HIDE_UNDOC_MEMBERS = YES HIDE_UNDOC_CLASSES = YES