This commit is contained in:
nub31
2025-10-20 20:15:29 +02:00
parent 7697f7b7cc
commit 7a3a461519
10 changed files with 125 additions and 70 deletions

View File

@@ -45,6 +45,10 @@ def map_type(clang_type: Type):
size = canonical.get_array_size()
return f"[{size}]{map_type(element_type)}"
if kind == TypeKind.INCOMPLETEARRAY:
element_type = canonical.get_array_element_type()
return f"[?]{map_type(element_type)}"
if kind == TypeKind.FUNCTIONPROTO or kind == TypeKind.FUNCTIONNOPROTO:
arg_types = []