Просмотр исходного кода

added deinit_printer

banana-cakes
FelixBrendel 6 лет назад
Родитель
Сommit
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();


Загрузка…
Отмена
Сохранить