yet another ktid type system refactoring

This commit is contained in:
2022-11-04 22:19:19 +06:00
parent 00c7987fa2
commit e846f6d304
45 changed files with 288 additions and 417 deletions

View File

@@ -8,6 +8,8 @@ extern "C" {
#define Autoarr_define(type)\
\
ktid_define(Autoarr_##type);\
\
void __Autoarr_add_##type(Autoarr_##type* ar, type element){\
if(!ar->values){\
ar->values=malloc(ar->max_blocks_count*sizeof(type*));\