1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2018, Olivier MATZ <zer0@droids-corp.org>
6 * @defgroup utils Utils
17 * Cast a variable into a type, ensuring its initial type first
19 #define EC_CAST(x, old_type, new_type) ({ \
25 * Mark the end of the arguments list in some functions.
27 #define EC_VA_END ((void *)1)