mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 05:43:40 +01:00
Work on manual bindings
This commit is contained in:
parent
f391ac57d3
commit
3381ac1c7d
37 changed files with 2596 additions and 48072 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue