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

Function allocate

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

Source from the content-addressed store, hash-verified

628
629 template<class T>
630 inline T* allocate() { return (T*)identity_traits<T>::get()->allocate(); }
631
632 template<class T>
633 struct enum_traits {};

Callers

nothing calls this directly

Calls 2

allocateMethod · 0.80
getFunction · 0.70

Tested by

no test coverage detected