mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 08:17:47 +01:00
Implement AutoUtf8Buffer
This commit is contained in:
parent
51a20300d8
commit
11aef2f4d6
20 changed files with 926 additions and 232 deletions
|
|
@ -1,8 +1,10 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontGlyphRangesBuilder
|
||||
{
|
||||
public void AddText(AutoUtf8Buffer text)
|
||||
public void AddText([InterpolatedStringHandlerArgument] AutoUtf8Buffer text)
|
||||
{
|
||||
fixed (ImFontGlyphRangesBuilder* thisPtr = &this)
|
||||
ImGui.AddText(thisPtr, text);
|
||||
|
|
@ -11,5 +13,5 @@ public unsafe partial struct ImFontGlyphRangesBuilder
|
|||
|
||||
public partial struct ImFontGlyphRangesBuilderPtr
|
||||
{
|
||||
public void AddText(AutoUtf8Buffer text) => ImGui.AddText(this, text);
|
||||
public void AddText([InterpolatedStringHandlerArgument] AutoUtf8Buffer text) => ImGui.AddText(this, text);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue