19 lines
432 B
C++
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*/
|