2020-11-06 15:04:25 +03: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 22:00:55 +03:00
|
|
|
long HeapInit();
|
|
|
|
void *Alloc(unsigned long int size);
|
|
|
|
void *ReAlloc(void *mem, unsigned long int size);
|
|
|
|
void Free(void *mem);
|
2020-11-06 15:04:25 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif // ndef __KOLIBRI_HEAP_H_INCLUDED_
|