mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
59 lines
2.8 KiB
C#
59 lines
2.8 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.ImGuiApi.Internal
|
|
{
|
|
public static partial class ImGuiTextIndexExtensions
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L805">imgui_internal.h:805</see>
|
|
/// <br/><c>void clear()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe void clear(this ImGuiTextIndexPtr target) => PInvoke.ImGuiTextIndex_clear_internal(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L806">imgui_internal.h:806</see>
|
|
/// <br/><c>int size()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe int size(this ImGuiTextIndexPtr target) => PInvoke.ImGuiTextIndex_size_internal(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L807">imgui_internal.h:807</see>
|
|
/// <br/><c>const char* get_line_begin(const char* base, int n)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe Ptr<byte> get_line_begin(this ImGuiTextIndexPtr target, Ptr<byte> @base, int n) =>
|
|
PInvoke.ImGuiTextIndex_get_line_begin_internal(target, (byte*)@base, n);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L808">imgui_internal.h:808</see>
|
|
/// <br/><c>const char* get_line_end(const char* base, int n)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe Ptr<byte> get_line_end(this ImGuiTextIndexPtr target, Ptr<byte> @base, int n) =>
|
|
PInvoke.ImGuiTextIndex_get_line_end_internal(target, (byte*)@base, n);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L809">imgui_internal.h:809</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L3127">imgui.cpp:3127</see>
|
|
/// <br/><c>void append(const char* base, int old_size, int new_size)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public static unsafe void append(this ImGuiTextIndexPtr target, Ptr<byte> @base, int oldSize, int newSize) =>
|
|
PInvoke.ImGuiTextIndex_append_internal(target, (byte*)@base, oldSize, newSize);
|
|
}
|
|
}
|