Merge "Nullability check for execinfo module"

This commit is contained in:
Treehugger Robot 2023-01-13 16:37:41 +00:00 committed by Gerrit Code Review
commit e87938c435

View file

@ -47,7 +47,7 @@ __BEGIN_DECLS
*
* Available since API level 33.
*/
int backtrace(void** buffer, int size) __INTRODUCED_IN(33);
int backtrace(void* _Nonnull * _Nonnull buffer, int size) __INTRODUCED_IN(33);
/**
* [backtrace_symbols(3)](https://man7.org/linux/man-pages/man3/backtrace_symbols.3.html)
@ -59,7 +59,7 @@ int backtrace(void** buffer, int size) __INTRODUCED_IN(33);
*
* Available since API level 33.
*/
char** backtrace_symbols(void* const* buffer, int size) __INTRODUCED_IN(33);
char* _Nullable * _Nullable backtrace_symbols(void* _Nonnull const* _Nonnull buffer, int size) __INTRODUCED_IN(33);
/**
* [backtrace_symbols_fd(3)](https://man7.org/linux/man-pages/man3/backtrace_symbols_fd.3.html)
@ -69,6 +69,6 @@ char** backtrace_symbols(void* const* buffer, int size) __INTRODUCED_IN(33);
*
* Available since API level 33.
*/
void backtrace_symbols_fd(void* const* buffer, int size, int fd) __INTRODUCED_IN(33);
void backtrace_symbols_fd(void* _Nonnull const* _Nonnull buffer, int size, int fd) __INTRODUCED_IN(33);
__END_DECLS