Differences From Artifact [dcb097e34e]:
- File
src/OFFile.h
— part of check-in
[c9621825fc]
at
2017-06-04 18:48:03
on branch trunk
— Treat MorphOS + ixemul as a separate platform
This reduces the ifdef hell and makes much more sense, as with ixemul,
no native calls are allowed. (user: js, size: 4155) [annotate] [blame] [check-ins using]
To Artifact [d0fae452f5]:
- File
src/OFFile.h
— part of check-in
[a9b2bd12eb]
at
2017-06-11 02:34:04
on branch trunk
— OFFile: Rework handle on MorphOS
The previous one didn't work, as the index was part of the handle, but
the index could change. (user: js, size: 3981) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
15 16 17 18 19 20 21 | */ #import "OFSeekableStream.h" #ifndef OF_MORPHOS # define OF_FILE_HANDLE_IS_FD # define OF_INVALID_FILE_HANDLE (-1) | < | < | < < < < | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | */ #import "OFSeekableStream.h" #ifndef OF_MORPHOS # define OF_FILE_HANDLE_IS_FD # define OF_INVALID_FILE_HANDLE (-1) typedef int of_file_handle_t; #else # define BOOL EXEC_BOOL # include <proto/dos.h> # undef BOOL # define OF_INVALID_FILE_HANDLE NULL typedef struct of_file_handle *of_file_handle_t; #endif OF_ASSUME_NONNULL_BEGIN /*! * @class OFFile OFFile.h ObjFW/OFFile.h * |
︙ | ︙ |