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