summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2020-04-24 13:12:25 -0700
committerDan Albert <danalbert@google.com>2020-04-24 14:06:40 -0700
commitd124aef39a026e35d5455dbda8519e255762d135 (patch)
tree172f061e2bb9ff3c8466e636df4051b8a868b86d /docs
parent1a4d480a7772ed9c86c5f93c0b10f3a46642d862 (diff)
Define more things to improve doxygen generation.
Test: built docs, saw API 30 stuff Bug: None Change-Id: Icbdfb3269c55b0a8edb3f9cbfe49b73251b57126
Diffstat (limited to 'docs')
-rw-r--r--docs/Doxyfile18
1 files changed, 17 insertions, 1 deletions
diff --git a/docs/Doxyfile b/docs/Doxyfile
index efa639d2e7..a1bd960c5a 100644
--- a/docs/Doxyfile
+++ b/docs/Doxyfile
@@ -1621,7 +1621,23 @@ INCLUDE_FILE_PATTERNS =
# undefined via #undef or recursively expanded use the := operator
# instead of the = operator.
-PREDEFINED = __attribute__(x)=
+PREDEFINED = \
+ "__ANDROID_API__=10000" \
+ "__BEGIN_DECLS=" \
+ "__END_DECLS=" \
+ "__INTRODUCED_IN(x)=" \
+ "__INTRODUCED_IN_32(x)=" \
+ "__INTRODUCED_IN_64(x)=" \
+ "__RENAME(x)=" \
+ "__RENAME_LDBL(x,y,z)=" \
+ "__printflike(x,y)=" \
+ "__attribute__(x)=" \
+ "__wur=" \
+ "__mallocfunc=" \
+ "__attribute_pure__=" \
+ "__attribute__(x)=" \
+ __ANDROID__ \
+ __BIONIC__ \
# 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.