MCPcopy Create free account
hub / github.com/DFHack/dfhack / uninstall_reset_point

Function uninstall_reset_point

library/modules/Textures.cpp:426–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424}
425
426static void uninstall_reset_point() {
427 INTERPOSE_HOOK(tracking_stage_new_region, logic).remove();
428 INTERPOSE_HOOK(tracking_stage_adopt_region, logic).remove();
429 INTERPOSE_HOOK(tracking_stage_load_region, logic).remove();
430 INTERPOSE_HOOK(tracking_stage_new_arena, logic).remove();
431}
432
433static void reserve_static_range() {
434 if (static_cast<size_t>(enabler->textures.init_texture_size) != enabler->textures.raws.size()) {

Callers 1

cleanupMethod · 0.85

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected