NativeSymbol.h 442 B

1234567891011121314151617181920
  1. #pragma once
  2. #include <stdint.h>
  3. #include <vector>
  4. #include "il2cpp-vm-support.h"
  5. namespace il2cpp
  6. {
  7. namespace utils
  8. {
  9. class NativeSymbol
  10. {
  11. public:
  12. #if IL2CPP_ENABLE_NATIVE_STACKTRACES
  13. static void RegisterMethods(const std::vector<MethodDefinitionKey>& managedMethods);
  14. static const VmMethod* GetMethodFromNativeSymbol(Il2CppMethodPointer nativeMethod);
  15. #endif
  16. };
  17. } /* namespace vm */
  18. } /* namespace mono */