mirror of
https://github.com/zeldaret/af.git
synced 2026-09-27 14:01:49 -04:00
cfa703f013
* malloc * match * bss * Fix naming * move __osMalloc to libc64 folder * move headers to libc64 folder
18 lines
413 B
C
18 lines
413 B
C
#ifndef MALLOC_H
|
|
#define MALLOC_H
|
|
|
|
#include "ultra64.h"
|
|
|
|
void* malloc(size_t size);
|
|
void* malloc_r(size_t size);
|
|
void* realloc(void* ptr, size_t size);
|
|
void free(void* ptr);
|
|
void* calloc(s32 num, size_t size);
|
|
void GetFreeArena(size_t* outMaxFree, size_t* outFree, size_t* outAlloc);
|
|
s32 CheckArena(void);
|
|
void MallocInit(void* heap, size_t size);
|
|
void MallocCleanup(void);
|
|
s32 MallocIsInitialized(void);
|
|
|
|
#endif
|