Differences From Artifact [ace9ad8531]:
- File src/OFBlock.h — part of check-in [0509d7a844] at 2019-01-03 19:13:03 on branch trunk — Update copyright (user: js, size: 1053) [annotate] [blame] [check-ins using]
To Artifact [83c8b8b8fe]:
- File
src/OFBlock.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: 1131) [annotate] [blame] [check-ins using] [more...]
︙ | |||
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | + + + | * @brief The class for all blocks, since all blocks are also objects. */ @interface OFBlock: OFObject + (instancetype)alloc OF_UNAVAILABLE; - (instancetype)init OF_UNAVAILABLE; @end OF_SUBCLASSING_RESTRICTED @interface OFStackBlock: OFBlock @end OF_SUBCLASSING_RESTRICTED @interface OFGlobalBlock: OFBlock @end OF_SUBCLASSING_RESTRICTED @interface OFMallocBlock: OFBlock @end OF_ASSUME_NONNULL_END |