qse/ase/stx/memory.h

27 lines
559 B
C
Raw Normal View History

2005-05-06 15:54:47 +00:00
/*
2007-03-22 11:19:28 +00:00
* $Id: memory.h,v 1.9 2007-03-22 11:19:28 bacon Exp $
2005-05-06 15:54:47 +00:00
*/
2007-03-22 11:19:28 +00:00
#ifndef _ASE_STX_MEMORY_H_
#define _ASE_STX_MEMORY_H_
2005-05-06 15:54:47 +00:00
2007-03-22 11:19:28 +00:00
#include <ase/stx/stx.h>
2005-05-06 17:18:29 +00:00
2005-05-06 15:54:47 +00:00
#ifdef __cplusplus
extern "C" {
#endif
2007-03-22 11:19:28 +00:00
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);
2005-05-06 15:54:47 +00:00
2007-03-22 11:19:28 +00:00
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);
2005-05-06 15:54:47 +00:00
#ifdef __cplusplus
}
#endif
#endif