mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
38 lines
1.4 KiB
C#
38 lines
1.4 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.ImGuiApi.Internal
|
|
{
|
|
public unsafe partial class PInvoke
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// size >= 0 : alloc, size = -1 : free
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3932">imgui_internal.h:3932</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L5040">imgui.cpp:5040</see>
|
|
/// <br/><c>void DebugAllocHook(ImGuiDebugAllocInfo* info, int frame_count, void* ptr, size_t size)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Debug Tools
|
|
/// </para>
|
|
/// <para>
|
|
/// We record the number of allocation in recent frames, as a way to audit/sanitize our guiding principles
|
|
/// of "no allocations on idle/repeating frames"
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void DebugAllocHook_internal(
|
|
ImGuiDebugAllocInfo* info,
|
|
int frame_count,
|
|
void* ptr,
|
|
nuint size
|
|
);
|
|
}
|
|
}
|