diff options
| author | Ray <[email protected]> | 2018-10-16 10:38:09 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-10-16 10:38:09 +0200 |
| commit | d1c4a4f873e221af034e0d93a57c22c93b0f68ad (patch) | |
| tree | a387e09767b48a4de90e0357fdca24f3f563da62 /src/raylib.h | |
| parent | e371609a1204edf7a019e909e97b146db8517c3d (diff) | |
| parent | d8331bde3a6c9781278106497be023b349b0a3fa (diff) | |
| download | raylib-d1c4a4f873e221af034e0d93a57c22c93b0f68ad.tar.gz raylib-d1c4a4f873e221af034e0d93a57c22c93b0f68ad.zip | |
Merge pull request #663 from jubalh/fileexists
Add FileExists() function
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 963df077..8aa5e7be 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -870,6 +870,7 @@ RLAPI int GetRandomValue(int min, int max); // Returns a r // Files management functions 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 bool FileExists(const char *fileName); // Return true if file exists 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) |
