diff --git a/src/ImGui.NET/ImGuiTextEditCallback.cs b/src/ImGui.NET/ImGuiTextEditCallback.cs index 04e5500..4c67dcc 100644 --- a/src/ImGui.NET/ImGuiTextEditCallback.cs +++ b/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); }