mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 08:17:47 +01:00
Make manual overloads for string-returning functinos
This commit is contained in:
parent
334a02e69a
commit
4b1857e40d
12 changed files with 239 additions and 462 deletions
|
|
@ -46,7 +46,7 @@ public static unsafe partial class ImGui
|
|||
text.Dispose();
|
||||
}
|
||||
|
||||
public static void append(ImGuiTextBufferPtr self, ImU8String str)
|
||||
public static void append(this ImGuiTextBufferPtr self, ImU8String str)
|
||||
{
|
||||
fixed (byte* strPtr = str.Span) ImGuiNative.append(self.Handle, strPtr, strPtr + str.Length);
|
||||
str.Dispose();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue