Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (17 sloc) 0.631 kb
/* -----------------------------------------------------------------------------
(c) The University of Glasgow 2001
Arena allocation interface.
-------------------------------------------------------------------------- */
#ifndef ARENA_H
#define ARENA_H
// Abstract type of arenas
typedef struct _Arena Arena;
// Start a new arena
RTS_PRIVATE Arena * newArena ( void );
// Allocate memory in an arena
RTS_PRIVATE void * arenaAlloc ( Arena *, size_t );
// Free an entire arena
RTS_PRIVATE void arenaFree ( Arena * );
// For internal use only:
RTS_PRIVATE unsigned long arenaBlocks( void );
#endif /* ARENA_H */
Jump to Line
Something went wrong with that request. Please try again.