Ver código fonte

added deinit_printer

banana-cakes
FelixBrendel 6 anos atrás
pai
commit
be5e48b137
1 arquivos alterados com 5 adições e 0 exclusões
  1. +5
    -0
      print.hpp

+ 5
- 0
print.hpp Ver arquivo

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


Carregando…
Cancelar
Salvar