mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
34 lines
1007 B
C
34 lines
1007 B
C
|
//----------------------------------------------------------------------------//
|
||
|
// GNU GPL OS/K //
|
||
|
// //
|
||
|
// Authors: spectral` //
|
||
|
// NeoX //
|
||
|
// //
|
||
|
// Desc: Memory allocation utilities //
|
||
|
//----------------------------------------------------------------------------//
|
||
|
|
||
|
#ifndef _KALBASE_H
|
||
|
#include <kalbase.h>
|
||
|
#endif
|
||
|
|
||
|
#ifndef _KALEXTRAS_MALLOC_H
|
||
|
#define _KALEXTRAS_MALLOC_H
|
||
|
|
||
|
//------------------------------------------//
|
||
|
|
||
|
//
|
||
|
// ¯\_(ツ)_/¯
|
||
|
//
|
||
|
#ifndef _STDLIB_H
|
||
|
void *malloc(unsigned long);
|
||
|
void free(void *);
|
||
|
#endif
|
||
|
|
||
|
#define AllocMemory malloc
|
||
|
#define FreeMemory free
|
||
|
|
||
|
//------------------------------------------//
|
||
|
|
||
|
#endif
|
||
|
|