@@ -21,14 +21,10 @@ * @class OFValue OFValue.h ObjFW/OFValue.h * * @brief A class for storing arbitrary values in an object. */ @interface OFValue: OFObject -{ - OF_RESERVE_IVARS(OFValue, 4) -} - /** * @brief The ObjC type encoding of the value. */ @property (readonly, nonatomic) const char *objCType; @@ -147,11 +143,13 @@ * @param bytes The bytes containing the value * @param objCType The ObjC type encoding for the value * @return An initialized OFValue */ - (instancetype)initWithBytes: (const void *)bytes - objCType: (const char *)objCType; + objCType: (const char *)objCType OF_DESIGNATED_INITIALIZER; + +- (instancetype)init OF_UNAVAILABLE; /** * @brief Gets the value. * * @param value The buffer to copy the value into