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

Method get

library/DataDefs.cpp:349–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347}
348
349const virtual_identity *virtual_identity::get(virtual_ptr instance_ptr)
350{
351 if (!instance_ptr) return nullptr;
352
353 return find(get_vtable(instance_ptr));
354}
355
356const virtual_identity *virtual_identity::find(void *vtable)
357{

Callers 11

conf.pyFile · 0.45
InitSimulationThreadMethod · 0.45
loadFileMethod · 0.45
threadFnMethod · 0.45
ServerMainImplMethod · 0.45
MemoryPatcherMethod · 0.45
gui_getWidgetChildrenFunction · 0.45
internal_runCommandFunction · 0.45
errorFunction · 0.45
script-docs.pyFile · 0.45
NewlineLinterClass · 0.45

Calls 2

get_vtableFunction · 0.85
findFunction · 0.50

Tested by

no test coverage detected