|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
SPDX-FileCopyrightText: Copyright The Zephyr Project Contributors SPDX-License-Identifier: Apache-2.0. More...
#include <zephyr/toolchain.h>Go to the source code of this file.
Macros | |
| #define | SCOPE_VAR_DEFINE(_name, _type, _exit_fn, _init_fn, ...) |
| Define a scoped variable type. | |
| #define | SCOPE_GUARD_DEFINE(_name, _type, _lock, _unlock) |
| Define a scoped guard type. | |
| #define | SCOPE_DEFER_DEFINE(_func, ...) |
| Define a scoped defer type. | |
| #define | scope_var(_name, _var) |
| Declare a variable with automatic cleanup. | |
| #define | scope_var_init(_name, _var, _init_expr) |
| Declare a variable with automatic cleanup using direct initialization. | |
| #define | scope_guard(_name) |
| Acquire a scoped guard lock. | |
| #define | scope_defer(_name) |
| Register a scoped deferred call. | |
SPDX-FileCopyrightText: Copyright The Zephyr Project Contributors SPDX-License-Identifier: Apache-2.0.
Cleanup helper API interface