summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2019-08-21 18:59:15 +0200
committerraysan5 <[email protected]>2019-08-21 18:59:15 +0200
commit20fa362700cd5eefb9eeb196711dfbec5a73f8ab (patch)
treed2724b7763ba8f6987edae859576af81b1d96369 /src/raylib.h
parent20257f3e49a25430912330caa98e06b81b4276b3 (diff)
downloadraylib-20fa362700cd5eefb9eeb196711dfbec5a73f8ab.tar.gz
raylib-20fa362700cd5eefb9eeb196711dfbec5a73f8ab.zip
Review comment
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 6cf6fd23..0594b370 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -939,7 +939,7 @@ RLAPI bool IsFileExtension(const char *fileName, const char *ext);// Check file
RLAPI bool DirectoryExists(const char *dirPath); // Check if a directory path exists
RLAPI const char *GetExtension(const char *fileName); // Get pointer to extension for a filename string
RLAPI const char *GetFileName(const char *filePath); // Get pointer to filename for a path string
-RLAPI const char *GetFileNameWithoutExt(const char *filePath); // Get filename string without extension (memory should be freed)
+RLAPI const char *GetFileNameWithoutExt(const char *filePath); // Get filename string without extension (uses static string)
RLAPI const char *GetDirectoryPath(const char *filePath); // Get full path for a given fileName with path (uses static string)
RLAPI const char *GetPrevDirectoryPath(const char *dirPath); // Get previous directory path for a given path (uses static string)
RLAPI const char *GetWorkingDirectory(void); // Get current working directory (uses static string)