mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-01 19:02:13 +00:00
Improve debug type names for composite types (arrays, map, struct, union)
This commit is contained in:
@@ -3623,6 +3623,9 @@ gbString write_type_to_string(gbString str, Type *type) {
|
||||
}
|
||||
|
||||
|
||||
gbString type_to_string(Type *type, gbAllocator allocator) {
|
||||
return write_type_to_string(gb_string_make(allocator, ""), type);
|
||||
}
|
||||
gbString type_to_string(Type *type) {
|
||||
return write_type_to_string(gb_string_make(heap_allocator(), ""), type);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user