diff options
| author | raysan5 <[email protected]> | 2019-08-11 12:04:54 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2019-08-11 12:04:54 +0200 |
| commit | 740834bb83734d436ba4c5324a4ccb026ebf5c6c (patch) | |
| tree | 394b518c7e26bc5f115c6ce1c25f56a662a8e8ec /src/raylib.h | |
| parent | 2c2ccadd32df75af312a32f2d07ca1d29e83f42b (diff) | |
| download | raylib-740834bb83734d436ba4c5324a4ccb026ebf5c6c.tar.gz raylib-740834bb83734d436ba4c5324a4ccb026ebf5c6c.zip | |
REVIEW: GetDirectoryPath() and GetPrevDirectoryPath()
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 1bf0afd5..3cb8d327 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -940,8 +940,8 @@ RLAPI bool DirectoryExists(const char *dirPath); // Check if a 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 *GetPrevDirectoryPath(const char *path); // Get previous directory path for a given path (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) RLAPI char **GetDirectoryFiles(const char *dirPath, int *count); // Get filenames in a directory path (memory should be freed) RLAPI void ClearDirectoryFiles(void); // Clear directory files paths buffers (free memory) |
