2020-11-06 13:04:25 +01:00
|
|
|
#ifndef __KOLIBRI_HEAP_H_INCLUDED_
|
|
|
|
#define __KOLIBRI_HEAP_H_INCLUDED_
|
|
|
|
|
|
|
|
#include "kolibri.h"
|
|
|
|
|
|
|
|
// Kolibri memory heap interface.
|
|
|
|
|
|
|
|
namespace Kolibri // All kolibri functions, types and data are nested in the (Kolibri) namespace.
|
|
|
|
{
|
2020-11-14 20:00:55 +01:00
|
|
|
long HeapInit();
|
|
|
|
void *Alloc(unsigned long int size);
|
|
|
|
void *ReAlloc(void *mem, unsigned long int size);
|
|
|
|
void Free(void *mem);
|
2020-11-06 13:04:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif // ndef __KOLIBRI_HEAP_H_INCLUDED_
|