Skip to content

Commit 0938c98

Browse files
chairclrmellinoe
authored andcommitted
Change calling convention of ImGuiInputTextCallback
1 parent 01da984 commit 0938c98

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
namespace ImGuiNET
1+
using System.Runtime.InteropServices;
2+
3+
namespace ImGuiNET
24
{
5+
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
36
public unsafe delegate int ImGuiInputTextCallback(ImGuiInputTextCallbackData* data);
47
}

0 commit comments

Comments
 (0)