Files
ss/include/rvl/OS/OSAlloc.h
T
Elijah Thomas 26af4db82d update from dtk-template - clangd :) (#66)
* update from dtk-template and start work towards using clangd

* include <a> -> "a"

* Update build.yml

* remove/add non-trivial class in union warning
2024-10-16 15:36:02 -04:00

20 lines
403 B
C

#ifndef RVL_SDK_OS_ALLOC_H
#define RVL_SDK_OS_ALLOC_H
#include "common.h"
#ifdef __cplusplus
extern "C" {
#endif
extern volatile s32 __OSCurrHeap;
void *OSAllocFromHeap(s32 handle, s32 size);
void OSFreeToHeap(s32 handle, void *p);
s32 OSSetCurrentHeap(s32 handle);
void *OSInitAlloc(void *start, void *end, s32 numHeaps);
s32 OSCreateHeap(void *start, void *end);
#ifdef __cplusplus
}
#endif
#endif