Переглянути джерело

added deinit_printer

banana-cakes
FelixBrendel 6 роки тому
джерело
коміт
be5e48b137
1 змінених файлів з 5 додано та 0 видалено
  1. +5
    -0
      print.hpp

+ 5
- 0
print.hpp Переглянути файл

@@ -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();


Завантаження…
Відмінити
Зберегти