Compare commits
1 Commits
0b4574b53e
...
3a7f09bb49
| Author | SHA1 | Date | |
|---|---|---|---|
| 3a7f09bb49 |
@@ -59,6 +59,8 @@ str path_basename(str path, bool remove_ext);
|
||||
Result(FILE*) file_open(cstr file_name, cstr fopen_mode);
|
||||
|
||||
static inline void file_close(FILE* f){
|
||||
if(f == NULL)
|
||||
return;
|
||||
fclose(f);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user