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,10 +1,8 @@
using System.Runtime.CompilerServices;
namespace Dalamud.Bindings.ImGui;
public unsafe partial struct ImGuiWindow
{
public readonly uint GetID(AutoUtf8Buffer str)
public readonly uint GetID(Utf8Buffer str)
{
fixed (ImGuiWindow* thisPtr = &this) return ImGuiP.GetID(thisPtr, str);
}
@ -22,7 +20,7 @@ public unsafe partial struct ImGuiWindow
public unsafe partial struct ImGuiWindowPtr
{
public readonly uint GetID(AutoUtf8Buffer str) => ImGuiP.GetID(this.Handle, str);
public readonly uint GetID(Utf8Buffer str) => ImGuiP.GetID(this.Handle, str);
public readonly uint GetID(void* ptr) => ImGuiP.GetID(this.Handle, ptr);
public readonly uint GetID(int n) => ImGuiP.GetID(this.Handle, n);
}