LearnWithTouch/App/LearnWithTouch_ios/Libraries/libil2cpp/include/vm/Liveness.h

27 lines
874 B
C
Raw Normal View History

2019-07-01 14:33:21 +02:00
#pragma once
#include <stdint.h>
#include "il2cpp-config.h"
struct Il2CppClass;
struct Il2CppObject;
namespace il2cpp
{
namespace vm
{
class LIBIL2CPP_CODEGEN_API Liveness
{
public:
typedef void (*register_object_callback)(Il2CppObject** arr, int size, void* userdata);
typedef void (*WorldChangedCallback)();
static void* Begin(Il2CppClass* filter, int max_object_count, register_object_callback callback, void* userdata, WorldChangedCallback onWorldStarted, WorldChangedCallback onWorldStopped);
static void End(void* state);
static void FromRoot(Il2CppObject* root, void* state);
static void FromStatics(void* state);
static void StopWorld(WorldChangedCallback onWorldStopped);
static void StartWorld(WorldChangedCallback onWorldStarted);
};
} /* namespace vm */
} /* namespace il2cpp */