Differences From Artifact [3047242909]:
- File src/OFNumber.h — part of check-in [0509d7a844] at 2019-01-03 19:13:03 on branch trunk — Update copyright (user: js, size: 22246) [annotate] [blame] [check-ins using]
To Artifact [1367656c87]:
- File
src/OFNumber.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: 22272) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
112 113 114 115 116 117 118 119 120 121 122 123 124 125 | } of_number_type_t; /*! * @class OFNumber OFNumber.h ObjFW/OFNumber.h * * @brief Provides a way to store a number in an object. */ @interface OFNumber: OFValue <OFComparing, OFSerialization, OFJSONRepresentation, OFMessagePackRepresentation> { union of_number_value { bool bool_; signed char sChar; signed short sShort; | > | 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | } of_number_type_t; /*! * @class OFNumber OFNumber.h ObjFW/OFNumber.h * * @brief Provides a way to store a number in an object. */ OF_SUBCLASSING_RESTRICTED @interface OFNumber: OFValue <OFComparing, OFSerialization, OFJSONRepresentation, OFMessagePackRepresentation> { union of_number_value { bool bool_; signed char sChar; signed short sShort; |
︙ | ︙ |