il2cpp-callbacks.h 734 B

12345678910111213141516171819202122232425
  1. #pragma once
  2. #if RUNTIME_MONO
  3. #ifndef __has_feature // clang specific __has_feature check
  4. #define __has_feature(x) 0 // Compatibility with non-clang compilers
  5. #endif
  6. #if _MSC_VER
  7. typedef wchar_t Il2CppChar;
  8. #elif __has_feature(cxx_unicode_literals)
  9. typedef char16_t Il2CppChar;
  10. #else
  11. typedef uint16_t Il2CppChar;
  12. #endif
  13. void il2cpp_install_callbacks();
  14. void il2cpp_mono_runtime_init();
  15. void il2cpp_mono_set_config_utf16(const Il2CppChar* executablePath);
  16. void il2cpp_mono_set_config(const char* executablePath);
  17. void il2cpp_mono_set_commandline_arguments_utf16(int argc, const Il2CppChar* const* argv);
  18. void il2cpp_mono_set_commandline_arguments(int argc, const char* const* argv);
  19. void il2cpp_mono_initialize_metadata();
  20. #endif