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

Function do_allocate

library/include/DataDefs.h:90–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88
89 virtual bool can_allocate() const { return true; }
90 virtual void *do_allocate() const { return do_allocate_pod(); }
91 virtual bool do_copy(void *tgt, const void *src) const { do_copy_pod(tgt, src); return true; }
92 virtual bool do_destroy(void *obj) const { return do_destroy_pod(obj); }
93

Callers 2

allocateMethod · 0.85
instantiateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected