Badminton-Scoreboard/Libraries/libil2cpp/include/gc/WriteBarrierValidation.h

23 lines
570 B
C
Raw Permalink Normal View History

2023-10-08 02:24:48 +00:00
#pragma once
#if IL2CPP_ENABLE_WRITE_BARRIER_VALIDATION
namespace il2cpp
{
namespace gc
{
class WriteBarrierValidation
{
public:
typedef void(*ExternalAllocationTrackerFunction)(void*, size_t, int);
static void SetExternalAllocationTracker(ExternalAllocationTrackerFunction func);
typedef void(*ExternalWriteBarrierTrackerFunction)(void**);
static void SetExternalWriteBarrierTracker(ExternalWriteBarrierTrackerFunction func);
static void Setup();
static void Run();
};
} /* gc */
} /* il2cpp */
#endif