123456789101112131415161718 |
- #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*/
|