Badminton-Scoreboard/Libraries/libil2cpp/include/utils/MarshalingUtils.h

20 lines
567 B
C
Raw Permalink Normal View History

2023-10-08 02:24:48 +00:00
#pragma once
#include "il2cpp-config.h"
struct Il2CppInteropData;
namespace il2cpp
{
namespace utils
{
class MarshalingUtils
{
public:
static void MarshalStructToNative(void* managedStructure, void* marshaledStructure, const Il2CppInteropData* interopData);
static void MarshalStructFromNative(void* marshaledStructure, void* managedStructure, const Il2CppInteropData* interopData);
static bool MarshalFreeStruct(void* marshaledStructure, const Il2CppInteropData* interopData);
};
} // namespace utils
} // namespace il2cpp