ReversePInvokeMethodStub.cpp 522 B

1234567891011121314151617181920212223242526272829303132
  1. #include "../metadata/ReversePInvokeMethodStub.h"
  2. #include "../metadata/MetadataModule.h"
  3. namespace hybridclr
  4. {
  5. namespace metadata
  6. {
  7. #if {PLATFORM_ABI}
  8. //!!!{{CODE
  9. void __ReversePInvokeMethod_0(void* xState)
  10. {
  11. CallLuaFunction(xState, 0);
  12. }
  13. void __ReversePInvokeMethod_1(void* xState)
  14. {
  15. CallLuaFunction(xState, 1);
  16. }
  17. Il2CppMethodPointer s_ReversePInvokeMethodStub[]
  18. {
  19. (Il2CppMethodPointer)__ReversePInvokeMethod_0,
  20. (Il2CppMethodPointer)__ReversePInvokeMethod_1,
  21. nullptr,
  22. };
  23. //!!!}}CODE
  24. #endif
  25. }
  26. }