InternalCalls.h 438 B

123456789101112131415161718192021
  1. #pragma once
  2. #include "il2cpp-config.h"
  3. namespace il2cpp
  4. {
  5. namespace vm
  6. {
  7. class LIBIL2CPP_CODEGEN_API InternalCalls
  8. {
  9. public:
  10. static void Init();
  11. static void Add(const char* name, Il2CppMethodPointer method);
  12. static Il2CppMethodPointer Resolve(const char* name);
  13. #if IL2CPP_ENABLE_MEM_STATS
  14. static size_t GetInternalCallsCount();
  15. #endif
  16. };
  17. } /* namespace vm */
  18. } /* namespace il2cpp */