Differences From Artifact [5cdb803aa0]:
- File src/OFFile.h — part of check-in [0509d7a844] at 2019-01-03 19:13:03 on branch trunk — Update copyright (user: js, size: 5855) [annotate] [blame] [check-ins using]
To Artifact [7b7e5b1049]:
- File
src/OFFile.h
— part of check-in
[496695d778]
at
2019-09-29 19:35:38
on branch trunk
— Either restrict subclassing or reserve ivar space
This allows ABI stability with the fragile ABI. (user: js, size: 5881) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
32 33 34 35 36 37 38 39 40 41 42 43 44 45 | @class OFURL; /*! * @class OFFile OFFile.h ObjFW/OFFile.h * * @brief A class which provides methods to read and write files. */ @interface OFFile: OFSeekableStream #ifdef OF_FILE_HANDLE_IS_FD <OFReadyForReadingObserving, OFReadyForWritingObserving> #endif { of_file_handle_t _handle; bool _atEndOfStream; | > | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | @class OFURL; /*! * @class OFFile OFFile.h ObjFW/OFFile.h * * @brief A class which provides methods to read and write files. */ OF_SUBCLASSING_RESTRICTED @interface OFFile: OFSeekableStream #ifdef OF_FILE_HANDLE_IS_FD <OFReadyForReadingObserving, OFReadyForWritingObserving> #endif { of_file_handle_t _handle; bool _atEndOfStream; |
︙ | ︙ |