Restore array structs but with no codegen #7

Merged
abdelrahman merged 5 commits from typed-no-codegen-arrays into main 2025-12-14 23:48:14 +00:00
Showing only changes of commit 3b360596d0 - Show all commits

View File

@@ -29,9 +29,6 @@ BEGIN_C_LINKAGE
T *items; \
} NAME
#define WAPP_IMPL_ARRAY_TYPE(T, T_STR, NAME) \
WAPP_DECL_ARRAY_TYPE(T, NAME);
#ifdef WAPP_PLATFORM_CPP
#define wapp_array(TYPE, ...) ([&]() { \
u64 capacity = _calc_array_capacity(TYPE, __VA_ARGS__); \