2012-01-21 21:57:41 +01:00
|
|
|
|
|
|
|
#ifndef __MEM2_HPP
|
|
|
|
#define __MEM2_HPP
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
2012-09-07 20:13:04 +02:00
|
|
|
void MEM_init();
|
|
|
|
|
|
|
|
void *MEM1_lo_alloc(unsigned int s);
|
|
|
|
void MEM1_lo_free(void *p);
|
2013-01-21 00:30:28 +01:00
|
|
|
unsigned int MEM1_lo_freesize();
|
2012-05-07 21:45:25 +02:00
|
|
|
|
|
|
|
void *MEM1_alloc(unsigned int s);
|
2012-05-18 18:55:04 +02:00
|
|
|
void *MEM1_memalign(unsigned int a, unsigned int s);
|
2012-05-07 21:45:25 +02:00
|
|
|
void *MEM1_realloc(void *p, unsigned int s);
|
|
|
|
void MEM1_free(void *p);
|
2012-05-18 18:55:04 +02:00
|
|
|
unsigned int MEM1_freesize();
|
2012-09-07 20:13:04 +02:00
|
|
|
|
2014-03-01 00:11:02 +01:00
|
|
|
void MEM2_lo_free(void *p);
|
|
|
|
void *MEM2_lo_alloc(unsigned int s);
|
|
|
|
|
2012-05-07 21:45:25 +02:00
|
|
|
void MEM2_free(void *p);
|
2012-01-21 21:57:41 +01:00
|
|
|
void *MEM2_alloc(unsigned int s);
|
2012-08-05 15:48:15 +02:00
|
|
|
void *MEM2_memalign(unsigned int /* alignment */, unsigned int s);
|
2012-01-21 21:57:41 +01:00
|
|
|
void *MEM2_realloc(void *p, unsigned int s);
|
|
|
|
unsigned int MEM2_usableSize(void *p);
|
|
|
|
unsigned int MEM2_freesize();
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // !defined(__MEM2_HPP)
|