summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2013-11-05 12:09:12 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2013-11-24 21:31:36 +0100
commit007b9cbb1a997896b7d312278863c164e3b340ce (patch)
treebbdc803083b69a696b4383e1fbc12ac6f69c8749 /doc
parentbbac735d1d4bbc3f90a0e46b3f85d3569993c061 (diff)
downloaddpdk-007b9cbb1a997896b7d312278863c164e3b340ce.zip
dpdk-007b9cbb1a997896b7d312278863c164e3b340ce.tar.gz
dpdk-007b9cbb1a997896b7d312278863c164e3b340ce.tar.xz
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 <cyril.cressent@intel.com> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/doxy-api.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/doxy-api.conf b/doc/doxy-api.conf
index 7ea692a..749db78 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