From 56bf9ea067ba6f2c53c8cd04c230519e079d224c Mon Sep 17 00:00:00 2001 From: ocornut Date: Sun, 1 Feb 2015 14:27:22 +0000 Subject: [PATCH] Added comment on MemFreeFn as suggested by #119 --- imgui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.h b/imgui.h index 6b5e81c4b..9ee587db1 100644 --- a/imgui.h +++ b/imgui.h @@ -523,7 +523,7 @@ struct ImGuiIO const char* (*GetClipboardTextFn)(); void (*SetClipboardTextFn)(const char* text); - // Optional: override memory allocations (default to posix malloc/realloc/free) + // Optional: override memory allocations (default to posix malloc/realloc/free). MemFreeFn() may be called with a NULL pointer. void* (*MemAllocFn)(size_t sz); void* (*MemReallocFn)(void* ptr, size_t sz); void (*MemFreeFn)(void* ptr);