Fix array pop for C++ pointer types
This commit is contained in:
@@ -51,7 +51,7 @@ BEGIN_C_LINKAGE
|
||||
}())
|
||||
#define wapp_void_ptr_array_pop(ARRAY_PTR) (ARRAY_PTR != NULL && (ARRAY_PTR)->count > 0 ? \
|
||||
*_void_ptr_array_pop(ARRAY_PTR) : \
|
||||
void *{} \
|
||||
(void *)(0) \
|
||||
)
|
||||
#define wapp_str8_array(...) ([&]() { \
|
||||
wapp_persist Str8 buf[wapp_misc_utils_u64_round_up_pow2(wapp_misc_utils_va_args_count(Str8, __VA_ARGS__) * 2)] = {__VA_ARGS__}; \
|
||||
|
||||
Reference in New Issue
Block a user