TempAlloc.free - multiple declarations

Function TempAlloc.free

Frees the last piece of memory allocated by TempAlloc. Since all memory must be allocated and freed in strict LIFO order, there's no need to pass a pointer in. All bookkeeping for figuring out what to free is done internally.

static void free ();

Function TempAlloc.free

Same as free() but uses stateCopy cached on stack by caller to avoid a thread-local storage lookup. Strictly a speed hack.

static void free (
  scid.core.memory.TempAlloc.State stateCopy
);