summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2018-10-13 15:53:02 +0200
committerGitHub <[email protected]>2018-10-13 15:53:02 +0200
commitfc4e9e7a37a0f8470c17a2b35b5611ad340a3cb2 (patch)
treeb0dbeabc15bf2ebe8da3883130996c7b3982c65a /src/raylib.h
parent5945805b1567c20546ae294705454733f8c071f8 (diff)
parentc2b36af60f1b2823cdeb6c8ae73a4957026d46ce (diff)
downloadraylib-fc4e9e7a37a0f8470c17a2b35b5611ad340a3cb2.tar.gz
raylib-fc4e9e7a37a0f8470c17a2b35b5611ad340a3cb2.zip
Merge pull request #661 from ChrisDill/master
Added GetLastWriteTime to allow for file reloading
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 9d870255..1765b40b 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -880,6 +880,7 @@ RLAPI bool ChangeDirectory(const char *dir); // Change work
RLAPI bool IsFileDropped(void); // Check if a file has been dropped into window
RLAPI char **GetDroppedFiles(int *count); // Get dropped files names (memory should be freed)
RLAPI void ClearDroppedFiles(void); // Clear dropped files paths buffer (free memory)
+RLAPI long GetLastWriteTime(const char *fileName); // Get last write time of a file
// Persistent storage management
RLAPI void StorageSaveValue(int position, int value); // Save integer value to storage file (to defined position)