// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable namespace Brutal.ImGuiApi { public partial class ImGui { public unsafe partial class PInvoke { /// /// /// C++: /// imgui.h:1166 /// , /// imgui.cpp:4027 ///
/// void SetAllocatorFunctions(ImGuiMemAllocFunc alloc_func, ImGuiMemFreeFunc free_func, void* user_data = NULL) ///
///
/// /// /// Memory Allocators /// - Those functions are not reliant on the current context. /// - DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions() /// for each static/DLL boundary you are calling from. Read "Context and Memory Allocators" section of imgui.cpp for more details. /// /// [LibraryImport("imgui")] public static unsafe partial void SetAllocatorFunctions(nint alloc_func, nint free_func, void* user_data); } } }