mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-21 14:24:35 +00:00
Use std::optional<uint64_t> instead of long with a special -1 sentinel for seekSize
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ int xfclose(FILE *file);
|
||||
int xclose(int fd);
|
||||
|
||||
// Measure file size with `fseek` and `ftell` idiom
|
||||
long seekSize(FILE *file);
|
||||
std::optional<uint64_t> seekSize(FILE *file);
|
||||
|
||||
// Locale-independent character class functions
|
||||
bool isNewline(int c);
|
||||
|
||||
Reference in New Issue
Block a user