c bool support and c-integer coercion

This commit is contained in:
2026-06-25 17:53:04 +02:00
parent c08bc6d0cc
commit e0b6f6049c
10 changed files with 80 additions and 13 deletions
+1
View File
@@ -149,6 +149,7 @@ translate_c_type :: proc(
switch item.kind {
case .Invalid: translated = types.INVALID
case .Void: translated = types.VOID
case .C_Bool: translated = types.BOOL
case .C_Char: translated = types.C_CHAR
case .C_Schar: translated = types.C_SCHAR
case .C_Uchar: translated = types.C_UCHAR