Explorar el Código

added deinit_printer

banana-cakes
FelixBrendel hace 6 años
padre
commit
be5e48b137
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. +5
    -0
      print.hpp

+ 5
- 0
print.hpp Ver fichero

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


Cargando…
Cancelar
Guardar