NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
OSAlloc.h
1#ifndef RVL_SDK_OS_ALLOC_H
2#define RVL_SDK_OS_ALLOC_H
3#include <types.h>
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8extern volatile s32 __OSCurrHeap;
9
10void* OSAllocFromHeap(s32 handle, s32 size);
11void OSFreeToHeap(s32 handle, void* p);
12s32 OSSetCurrentHeap(s32 handle);
13void* OSInitAlloc(void* start, void* end, s32 numHeaps);
14s32 OSCreateHeap(void* start, void* end);
15
16#ifdef __cplusplus
17}
18#endif
19#endif