diff options
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types.cpp b/src/types.cpp index b714b7798..f211f4ad7 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -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); } |