From d2d72b1dfb08276caf26fc91f4e5c4513e33981e Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 19 Dec 2020 19:43:25 +0100 Subject: ADDED: MemAlloc() / MemFree() #1440 Exposing internal memory allocator/free, useful for advance users when required --- src/raylib.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/raylib.h') diff --git a/src/raylib.h b/src/raylib.h index 9bbcbec1..874e1dc2 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -972,6 +972,8 @@ RLAPI void SetTraceLogExit(int logType); // Set the exi RLAPI void SetTraceLogCallback(TraceLogCallback callback); // Set a trace log callback to enable custom logging RLAPI void TraceLog(int logType, const char *text, ...); // Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR) +RLAPI void *MemAlloc(int size); // Internal memory allocator +RLAPI void MemFree(void *ptr); // Internal memory free RLAPI void TakeScreenshot(const char *fileName); // Takes a screenshot of current screen (saved a .png) RLAPI int GetRandomValue(int min, int max); // Returns a random value between min and max (both included) -- cgit v1.2.3