11#ifndef INCGUARD_MGL_MEMORY_H_1651231663
12#define INCGUARD_MGL_MEMORY_H_1651231663
20[[nodiscard]]
void *
Allocate(
size_t size)
noexcept;
22void *
Reallocate(
void *buffer,
size_t newSize)
noexcept;
26AllocatorType GetAllocatorType() noexcept;
27bool GetSizeInfo(
size_t &dest, uint32_t key, uint32_t arg = 0) noexcept;
void * Reallocate(void *buffer, size_t newSize) noexcept
リアロケート
Definition mgl_memory.cc:137
bool IsAvailableAllocator() noexcept
アロケータの有効状態を取得
Definition mgl_memory.cc:166
void Deallocate(void *buffer) noexcept
デアロケート
Definition mgl_memory.cc:118
bool SetDefaultAllocator(const DefaultAllocator::Configuration &config) noexcept
デフォルトアロケータの設定
Definition mgl_memory.cc:31
void * Allocate(size_t size) noexcept
アロケート
Definition mgl_memory.cc:95
bool SetAllocator(Allocator *allocator) noexcept
アロケータの設定
Definition mgl_memory.cc:62