Badminton-Scoreboard/Libraries/libil2cpp/include/os/MarshalAlloc.h
2023-10-08 10:24:48 +08:00

19 lines
432 B
C++

#pragma once
namespace il2cpp
{
namespace os
{
class MarshalAlloc
{
public:
static void* Allocate(size_t size);
static void* ReAlloc(void* ptr, size_t size);
static void Free(void* ptr);
static void* AllocateHGlobal(size_t size);
static void* ReAllocHGlobal(void* ptr, size_t size);
static void FreeHGlobal(void* ptr);
};
} /* namespace os */
} /* namespace il2cpp*/