mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 13:11:05 +01:00 
			
		
		
		
	Added comment on MemFreeFn as suggested by #119
This commit is contained in:
		
							
								
								
									
										2
									
								
								imgui.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user