Badminton-Scoreboard/Libraries/libil2cpp/include/vm-utils/NativeSymbol.h

29 lines
726 B
C
Raw Normal View History

2023-10-08 02:24:48 +00:00
#pragma once
#if !RUINTIME_TINY
#include "vm/MetadataCache.h"
#endif
#include "vm/StackTrace.h"
#include "vm-utils/MethodDefinitionKey.h"
#include "vm-utils/VmMethod.h"
#include <stdint.h>
#include <vector>
namespace il2cpp
{
namespace utils
{
class NativeSymbol
{
public:
#if (IL2CPP_ENABLE_NATIVE_STACKTRACES && (!RUNTIME_TINY || IL2CPP_TINY_DEBUG_METADATA))
static void RegisterMethods(const std::vector<MethodDefinitionKey>& managedMethods);
static const VmMethod* GetMethodFromNativeSymbol(Il2CppMethodPointer nativeMethod);
static bool GetMethodDebugInfo(const MethodInfo* method, Il2CppMethodDebugInfo* methodDebugInfo);
#endif
};
} /* namespace vm */
} /* namespace mono */