home · contact · privacy
Built error checking into file reading/writing routines and calls of them.
[plomrogue] / src / map_objects.h
index a5156f47d2a98b3cde51d1a40204ff6f54378baf..7fcf1c7df63087df887c2076cffb3cbe7a99c223 100644 (file)
@@ -88,8 +88,9 @@ extern void * build_map_objects(struct World * world, void * start, char def_id,
 /* Write to/read from file chain of map objects starting/to start in memory at
  * "start".
  */
-extern void write_map_objects(struct World * world, void * start, FILE * file);
-extern void read_map_objects(struct World * world, void * start, FILE * file);
+extern uint8_t write_map_objects(struct World * world, void * start,
+                                 FILE * file);
+extern uint8_t read_map_objects(struct World * world, void * start, FILE * file);