il2cpp-api.h 445 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include <stdint.h>
  3. #include "il2cpp-config.h"
  4. #if IL2CPP_API_DYNAMIC_NO_DLSYM
  5. extern "C"
  6. {
  7. IL2CPP_EXPORT void il2cpp_api_register_symbols(void);
  8. IL2CPP_EXPORT void* il2cpp_api_lookup_symbol(const char* name);
  9. }
  10. #endif
  11. extern "C"
  12. {
  13. #define DO_API(r, n, p) IL2CPP_EXPORT r n p;
  14. #define DO_API_NO_RETURN(r, n, p) IL2CPP_EXPORT NORETURN r n p;
  15. #include "il2cpp-api-functions.h"
  16. #undef DO_API
  17. #undef DO_API_NORETURN
  18. }