diff options
| author | Ray <[email protected]> | 2018-10-10 12:01:59 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2018-10-10 12:01:59 +0200 |
| commit | a511337ce880f6e910cc0b5b20195c6cf1ec70e7 (patch) | |
| tree | 3c1bfedf9580aaa8ae065cb2bb9b63d756683963 /src/raylib.h | |
| parent | 555fdec9585ae116291c388ca105915da26bc968 (diff) | |
| download | raylib-a511337ce880f6e910cc0b5b20195c6cf1ec70e7.tar.gz raylib-a511337ce880f6e910cc0b5b20195c6cf1ec70e7.zip | |
ADDED: GetFileNameWithoutExt
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index 2bc37906..3bd16f00 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -871,6 +871,7 @@ RLAPI int GetRandomValue(int min, int max); // Returns a r RLAPI bool IsFileExtension(const char *fileName, const char *ext);// Check file extension 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 *GetDirectoryPath(const char *fileName); // Get full path for a given fileName (uses static string) RLAPI const char *GetWorkingDirectory(void); // Get current working directory (uses static string) RLAPI char **GetDirectoryFiles(const char *dirPath, int *count); // Get filenames in a directory path (memory should be freed) |
