added deinit_printer

This commit is contained in:
FelixBrendel
2020-05-20 23:41:38 +02:00
parent dc98c61901
commit be5e48b137
+5
View File
@@ -405,6 +405,11 @@ int print_ptr(FILE* f, void* ptr) {
return print_to_file(f, "nullptr");
}
void deinit_printer() {
printer_map.dealloc();
type_map.dealloc();
}
void init_printer() {
printer_map.alloc();
type_map.alloc();