GenericContainer.h 604 B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #include <stdint.h>
  3. #include "il2cpp-config.h"
  4. #include "il2cpp-metadata.h"
  5. struct Il2CppClass;
  6. struct Il2CppGenericContainer;
  7. struct Il2CppGenericParameter;
  8. namespace il2cpp
  9. {
  10. namespace vm
  11. {
  12. class LIBIL2CPP_CODEGEN_API GenericContainer
  13. {
  14. public:
  15. // exported
  16. public:
  17. //internal
  18. static Il2CppClass* GetDeclaringType(const Il2CppGenericContainer* genericContainer);
  19. static const Il2CppGenericParameter* GetGenericParameter(const Il2CppGenericContainer* genericContainer, uint16_t index);
  20. };
  21. } /* namespace vm */
  22. } /* namespace il2cpp */