You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
27 lines
429 B
C
27 lines
429 B
C
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "UnsyncCommon.h"
|
||
|
|
|
||
|
|
namespace unsync {
|
||
|
|
|
||
|
|
#ifndef UNSYNC_USE_DEBUG_HEAP
|
||
|
|
# define UNSYNC_USE_DEBUG_HEAP 0
|
||
|
|
#endif
|
||
|
|
|
||
|
|
static constexpr size_t UNSYNC_MALLOC_ALIGNMENT = 16;
|
||
|
|
|
||
|
|
enum class EMallocType
|
||
|
|
{
|
||
|
|
Invalid,
|
||
|
|
Default,
|
||
|
|
Debug
|
||
|
|
};
|
||
|
|
|
||
|
|
void UnsyncMallocInit(EMallocType MallocType);
|
||
|
|
void* UnsyncMalloc(size_t Size);
|
||
|
|
void UnsyncFree(void* Ptr);
|
||
|
|
|
||
|
|
} // namespace unsync
|