Skip to content

Documentation / imgui / ImGui / SetAllocatorFunctions

Function: SetAllocatorFunctions()

SetAllocatorFunctions(alloc_func, free_func, user_data?): void

Defined in: libs/imgui/src/imgui.ts:7270

Parameters

alloc_func

(sz, user_data) => number

free_func

(ptr, user_data) => void

user_data?

any = null

Returns

void

Released under the MIT License.