mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-01 07:11:18 +00:00
When requesting < 1 MB, _alloca16() is used, otherwise Mem_Alloc16(). Furthermore you must pass a bool that will get true assigned if the memory has been allocated on the stack, else false. At the end of the function you must call Mem_FreeA( ptr, onStack ) (where onStack is the aforementioned bool), so Mem_Free16() can be called if it was allocated on the heap. |
||
---|---|---|
.. | ||
cm | ||
d3xp | ||
framework | ||
game | ||
idlib | ||
libs/imgui | ||
MayaImport | ||
renderer | ||
sound | ||
sys | ||
tools | ||
TypeInfo | ||
ui | ||
CMakeLists.txt | ||
config.h.in | ||
mmakefile.src |