// using HexaGen.Runtime; using System; using System.Diagnostics; using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Dalamud.Bindings.ImGui; public unsafe partial struct ImGuiTextRange { public unsafe void Destroy() { fixed (ImGuiTextRange* @this = &this) { ImGuiNative.Destroy(@this); } } public unsafe bool empty() { fixed (ImGuiTextRange* @this = &this) { byte ret = ImGuiNative.empty(@this); return ret != 0; } } public unsafe void split(byte separator, ImVector* output) { fixed (ImGuiTextRange* @this = &this) { ImGuiNative.split(@this, separator, output); } } public unsafe void split(byte separator, ref ImVector output) { fixed (ImGuiTextRange* @this = &this) { fixed (ImVector* poutput = &output) { ImGuiNative.split(@this, separator, (ImVector*)poutput); } } } }