mirror of https://github.com/zeldaret/botw.git
21 lines
451 B
C++
21 lines
451 B
C++
/**
|
|
* @file init.h
|
|
* @brief Initialization functions for OS related functions.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <nn/mem.h>
|
|
#include <nn/types.h>
|
|
|
|
namespace nn {
|
|
namespace init {
|
|
void InitializeAllocator(void* addr, u64 size);
|
|
nn::mem::StandardAllocator* GetAllocator();
|
|
|
|
namespace detail {
|
|
void* DefaultAllocatorForThreadLocal(u64, u64);
|
|
void* DefaultDeallocatorForThreadLocal(void*, u64);
|
|
}; // namespace detail
|
|
} // namespace init
|
|
}; // namespace nn
|