2020-11-10 13:19:15 +01:00
|
|
|
#ifndef __KOLIBRI_HEAP_H_INCLUDED_
|
|
|
|
#define __KOLIBRI_HEAP_H_INCLUDED_
|
2011-01-28 14:00:06 +01:00
|
|
|
|
2020-11-13 12:22:40 +01:00
|
|
|
#include "kolibri.h"
|
2011-01-28 14:00:06 +01:00
|
|
|
|
2020-11-02 19:44:51 +01:00
|
|
|
// Kolibri memory heap interface.
|
2011-01-28 14:00:06 +01:00
|
|
|
|
2020-11-02 19:44:51 +01:00
|
|
|
namespace Kolibri // All kolibri functions, types and data are nested in the (Kolibri) namespace.
|
2011-01-28 14:00:06 +01:00
|
|
|
{
|
2020-11-16 08:55:40 +01:00
|
|
|
long HeapInit();
|
|
|
|
void *Alloc(unsigned long int size);
|
|
|
|
void *ReAlloc(void *mem, unsigned long int size);
|
|
|
|
void Free(void *mem);
|
2011-01-28 14:00:06 +01:00
|
|
|
}
|
|
|
|
|
2020-11-10 13:19:15 +01:00
|
|
|
#endif // ndef __KOLIBRI_HEAP_H_INCLUDED_
|