[CORE] Add a function to return the application directory. (#2256)
* Add a function to return the application directory. * CI fixes
This commit is contained in:
parent
549ca669aa
commit
fbf34f7c0d
2 changed files with 120 additions and 0 deletions
|
@ -1047,6 +1047,7 @@ RLAPI const char *GetFileNameWithoutExt(const char *filePath); // Get filenam
|
|||
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 const char* GetApplicationDirectory(void); // Get the directory if the running application (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)
|
||||
RLAPI bool ChangeDirectory(const char *dir); // Change working directory, return true on success
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue