Environment.h 535 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include <stdint.h>
  3. #include <vector>
  4. #include "il2cpp-config.h"
  5. #include "il2cpp-string-types.h"
  6. struct Il2CppDomain;
  7. namespace il2cpp
  8. {
  9. namespace utils
  10. {
  11. class LIBIL2CPP_CODEGEN_API Environment
  12. {
  13. public:
  14. static const std::vector<UTF16String>& GetMainArgs();
  15. static int GetNumMainArgs();
  16. static void SetMainArgs(const char* const* args, int num_args);
  17. static void SetMainArgs(const Il2CppChar* const* args, int num_args);
  18. };
  19. } /* namespace vm */
  20. } /* namespace il2cpp */