Il2CppCodeRegistration.cpp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #include "il2cpp-config.h"
  2. #ifndef _MSC_VER
  3. # include <alloca.h>
  4. #else
  5. # include <malloc.h>
  6. #endif
  7. #include <cstring>
  8. #include <string.h>
  9. #include <stdio.h>
  10. #include <cmath>
  11. #include <limits>
  12. #include <assert.h>
  13. #include "il2cpp-class-internals.h"
  14. #include "codegen/il2cpp-codegen.h"
  15. extern const Il2CppMethodPointer g_MethodPointers[];
  16. extern const Il2CppMethodPointer g_ReversePInvokeWrapperPointers[];
  17. extern const Il2CppMethodPointer g_Il2CppGenericMethodPointers[];
  18. extern const InvokerMethod g_Il2CppInvokerPointers[];
  19. extern const CustomAttributesCacheGenerator g_AttributeGenerators[];
  20. extern const Il2CppMethodPointer g_UnresolvedVirtualMethodPointers[];
  21. extern Il2CppInteropData g_Il2CppInteropData[];
  22. extern const Il2CppCodeRegistration g_CodeRegistration =
  23. {
  24. 32572,
  25. g_MethodPointers,
  26. 2158,
  27. g_ReversePInvokeWrapperPointers,
  28. 20274,
  29. g_Il2CppGenericMethodPointers,
  30. 4975,
  31. g_Il2CppInvokerPointers,
  32. 12169,
  33. g_AttributeGenerators,
  34. 889,
  35. g_UnresolvedVirtualMethodPointers,
  36. 231,
  37. g_Il2CppInteropData,
  38. };
  39. extern const Il2CppMetadataRegistration g_MetadataRegistration;
  40. static const Il2CppCodeGenOptions s_Il2CppCodeGenOptions =
  41. {
  42. false,
  43. };
  44. void s_Il2CppCodegenRegistration()
  45. {
  46. il2cpp_codegen_register (&g_CodeRegistration, &g_MetadataRegistration, &s_Il2CppCodeGenOptions);
  47. }
  48. #if RUNTIME_IL2CPP
  49. static il2cpp::utils::RegisterRuntimeInitializeAndCleanup s_Il2CppCodegenRegistrationVariable (&s_Il2CppCodegenRegistration, NULL);
  50. #endif