qse/ase/stx/memory.h
2008-03-04 05:21:33 +00:00

27 lines
557 B
C

/*
* $Id: memory.h 118 2008-03-03 11:21:33Z baconevi $
*/
#ifndef _ASE_STX_MEMORY_H_
#define _ASE_STX_MEMORY_H_
#include <ase/stx/stx.h>
#ifdef __cplusplus
extern "C" {
#endif
ase_stx_memory_t* ase_stx_memory_open (
ase_stx_memory_t* mem, ase_word_t capacity);
void ase_stx_memory_close (ase_stx_memory_t* mem);
void ase_stx_memory_gc (ase_stx_memory_t* mem);
ase_word_t ase_stx_memory_alloc (ase_stx_memory_t* mem, ase_word_t size);
void ase_stx_memory_dealloc (ase_stx_memory_t* mem, ase_word_t object_index);
#ifdef __cplusplus
}
#endif
#endif