refactor: pass structs as pointers except for background things
This commit is contained in:
+2
-4
@@ -5,14 +5,12 @@
|
||||
|
||||
File file_read(char *path);
|
||||
|
||||
bool file_should_update(File file);
|
||||
bool file_should_update(File *file);
|
||||
|
||||
bool file_update(File *file);
|
||||
|
||||
void file_write(char *path, StringArray lines);
|
||||
void file_write(char *path, StringArray *lines);
|
||||
|
||||
void file_free(File *file);
|
||||
|
||||
void file_free_array(FileArray *files);
|
||||
|
||||
#endif /* FILE_H */
|
||||
Reference in New Issue
Block a user