get_type_info
This commit is contained in:
@@ -833,7 +833,8 @@ typedef struct String{
|
||||
gen_ast(it);
|
||||
}
|
||||
|
||||
gen("Type_Info *type_infos = (Type_Info[]){");
|
||||
genln("S32 type_infos_len = %d;", pctx->all_types.len);
|
||||
genln("Type_Info *type_infos = (Type_Info[]){");
|
||||
global_indent++;
|
||||
For(pctx->all_types){
|
||||
genln("{/*%Q*/.kind = %d, .size = %d, .align = %d, .is_unsigned = %s, .type_id = %d, ", typestring(it),
|
||||
|
||||
Reference in New Issue
Block a user