MCPcopy Create free account
hub / github.com/Norbyte/bg3se / alloc

Method alloc

BG3Extender/GameDefinitions/EntitySystem.h:161–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159 FrameAllocator* Allocator;
160
161 inline void* alloc(std::size_t size)
162 {
163 se_assert(size <= 0xFFC0);
164 return Allocator->Allocate((uint16_t)size);
165 }
166
167 template <class T, class ...Args>
168 T* allocArray(std::size_t n, Args... args)

Callers 1

GrowMethod · 0.45

Calls 1

AllocateMethod · 0.45

Tested by

no test coverage detected