mirror of
https://github.com/focus-creative-games/hybridclr_unity.git
synced 2026-11-21 08:02:40 +08:00
d8e155dc25
[refactor] 重构模板文件,除去重复。统一调整生成文件的输出目录到 hybridclr/generated
32 lines
522 B
C++
32 lines
522 B
C++
#include "../metadata/ReversePInvokeMethodStub.h"
|
|
#include "../metadata/MetadataModule.h"
|
|
|
|
namespace hybridclr
|
|
{
|
|
namespace metadata
|
|
{
|
|
#if {PLATFORM_ABI}
|
|
|
|
//!!!{{CODE
|
|
|
|
void __ReversePInvokeMethod_0(void* xState)
|
|
{
|
|
CallLuaFunction(xState, 0);
|
|
}
|
|
|
|
void __ReversePInvokeMethod_1(void* xState)
|
|
{
|
|
CallLuaFunction(xState, 1);
|
|
}
|
|
|
|
Il2CppMethodPointer s_ReversePInvokeMethodStub[]
|
|
{
|
|
(Il2CppMethodPointer)__ReversePInvokeMethod_0,
|
|
(Il2CppMethodPointer)__ReversePInvokeMethod_1,
|
|
nullptr,
|
|
};
|
|
|
|
//!!!}}CODE
|
|
#endif
|
|
}
|
|
} |