TempAlloc.frameInit - multiple declarations

Function TempAlloc.frameInit

Initializes a frame, i.e. marks the current allocation position. Memory past the position at which this was last called will be freed when frameFree() is called. Returns a reference to the State class in case the caller wants to cache it for speed.

static scid.core.memory.TempAlloc.State frameInit ();

Function TempAlloc.frameInit

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

static scid.core.memory.TempAlloc.State frameInit (
  scid.core.memory.TempAlloc.State stateCopy
);