mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-22 11:15:15 +00:00
24 lines
465 B
C
24 lines
465 B
C
|
/**
|
||
|
* @file init.h
|
||
|
* @brief Initialization functions for OS related functions.
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "mem.h"
|
||
|
#include "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);
|
||
|
};
|
||
|
}
|
||
|
};
|