diff options
| author | Ray <[email protected]> | 2020-09-13 14:07:08 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-09-13 14:07:08 +0200 |
| commit | cb8cbb038b75ead6b8d580310b91dec39e5c3c6d (patch) | |
| tree | 4593c4dbd1491a3c2cd81a4ec629513b1d52dce5 /src/raylib.h | |
| parent | f1ed8be5d7e2d966d577a3fd28e53447a398b3b6 (diff) | |
| download | raylib-cb8cbb038b75ead6b8d580310b91dec39e5c3c6d.tar.gz raylib-cb8cbb038b75ead6b8d580310b91dec39e5c3c6d.zip | |
WARNING: RENAMED: GetExtension() to GetFileExtension()
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h index 9193d378..5f981d6e 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -957,9 +957,9 @@ RLAPI void SaveFileData(const char *fileName, void *data, unsigned int bytesToWr RLAPI char *LoadFileText(const char *fileName); // Load text data from file (read), returns a '\0' terminated string RLAPI void SaveFileText(const char *fileName, char *text); // Save text data to file (write), string must be '\0' terminated RLAPI bool FileExists(const char *fileName); // Check if file exists -RLAPI bool IsFileExtension(const char *fileName, const char *ext);// Check file extension +RLAPI bool IsFileExtension(const char *fileName, const char *ext);// Check file extension (including point: .png,.wav) 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 *GetFileExtension(const char *fileName); // Get pointer to extension for a filename string (including point: ".png") 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 (uses static string) RLAPI const char *GetDirectoryPath(const char *filePath); // Get full path for a given fileName with path (uses static string) |
