Change calling convention of ImGuiInputTextCallback

internals
CEO-Chair 2 years ago committed by Eric Mellino
parent 01da984860
commit 0938c9882a
  1. 5
      src/ImGui.NET/ImGuiTextEditCallback.cs

@ -1,4 +1,7 @@
namespace ImGuiNET using System.Runtime.InteropServices;
namespace ImGuiNET
{ {
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate int ImGuiInputTextCallback(ImGuiInputTextCallbackData* data); public unsafe delegate int ImGuiInputTextCallback(ImGuiInputTextCallbackData* data);
} }

Loading…
Cancel
Save