Skip to content

Commit eceeb8f

Browse files
committed
Return delegate ptr for lua_atpanic
1 parent 87b6f61 commit eceeb8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Laylua/Moon/Native/Extern/LuaNative.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Diagnostics.CodeAnalysis;
33
using System.Runtime.CompilerServices;
44
using System.Runtime.InteropServices;
@@ -41,7 +41,7 @@ public static unsafe partial class LuaNative
4141
public static extern LuaCFunction lua_atpanic(lua_State* L, LuaCFunction panicf);
4242

4343
[DllImport(DllName, CallingConvention = Cdecl)]
44-
public static extern LuaCFunction lua_atpanic(lua_State* L, delegate* unmanaged[Cdecl]<lua_State*, int> panicf);
44+
public static extern delegate* unmanaged[Cdecl]<lua_State*, int> lua_atpanic(lua_State* L, delegate* unmanaged[Cdecl]<lua_State*, int> panicf);
4545

4646
[DllImport(DllName, CallingConvention = Cdecl)]
4747
public static extern lua_Number lua_version(lua_State* L);

0 commit comments

Comments
 (0)