Skip to content

Commit

Permalink
doc: doxygen: respect macro for nonnull attribute
Browse files Browse the repository at this point in the history
Zephyr upstream now uses a new (private) CPP macro to handle
nonnull attribute in internal kernel API. Thus Doxygen have to
know about and strip the declarations.

Signed-off-by: Stephan Linz <[email protected]>
  • Loading branch information
rexut committed Oct 31, 2023
1 parent b05a367 commit bfd3ff2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/_doxygen/doxyfile-bridle.in
Original file line number Diff line number Diff line change
Expand Up @@ -2452,6 +2452,7 @@ PREDEFINED = __DOXYGEN__ \
__deprecated= \
__packed= \
__aligned(x)= \
__attribute_nonnull(...)= \
"__printf_like(x, y)=" \
__attribute__(x)= \
__syscall= \
Expand Down
1 change: 1 addition & 0 deletions doc/_doxygen/doxyfile-zephyr.in
Original file line number Diff line number Diff line change
Expand Up @@ -2455,6 +2455,7 @@ PREDEFINED = __DOXYGEN__ \
__deprecated= \
__packed= \
__aligned(x)= \
__attribute_nonnull(...)= \
"__printf_like(x, y)=" \
__attribute__(x)= \
__syscall= \
Expand Down

0 comments on commit bfd3ff2

Please sign in to comment.