19 lines
432 B
C
Raw Permalink Normal View History

2023-10-08 10:24:48 +08:00
#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*/