added deinit_printer
This commit is contained in:
@@ -405,6 +405,11 @@ int print_ptr(FILE* f, void* ptr) {
|
|||||||
return print_to_file(f, "nullptr");
|
return print_to_file(f, "nullptr");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void deinit_printer() {
|
||||||
|
printer_map.dealloc();
|
||||||
|
type_map.dealloc();
|
||||||
|
}
|
||||||
|
|
||||||
void init_printer() {
|
void init_printer() {
|
||||||
printer_map.alloc();
|
printer_map.alloc();
|
||||||
type_map.alloc();
|
type_map.alloc();
|
||||||
|
|||||||
Reference in New Issue
Block a user