Work on manual bindings

This commit is contained in:
Soreepeong 2025-07-23 01:18:48 +09:00
parent f391ac57d3
commit 3381ac1c7d
37 changed files with 2596 additions and 48072 deletions

View file

@ -1,16 +1,15 @@
using System.Runtime.CompilerServices;
namespace Dalamud.Bindings.ImGui;
public unsafe partial struct ImGuiInputTextCallbackData
{
public void InsertChars(int pos, AutoUtf8Buffer text)
public void InsertChars(int pos, Utf8Buffer text)
{
fixed (ImGuiInputTextCallbackData* thisPtr = &this) ImGui.InsertChars(thisPtr, pos, text);
fixed (ImGuiInputTextCallbackData* thisPtr = &this)
ImGui.InsertChars(thisPtr, pos, text);
}
}
public partial struct ImGuiInputTextCallbackDataPtr
{
public void InsertChars(int pos, AutoUtf8Buffer text) => ImGui.InsertChars(this, pos, text);
public void InsertChars(int pos, Utf8Buffer text) => ImGui.InsertChars(this, pos, text);
}