@@ -18,12 +18,10 @@ #import "OFString.h" #import "OFOutOfRangeException.h" @implementation OFConcreteValue -@synthesize objCType = _objCType; - - (instancetype)initWithBytes: (const void *)bytes objCType: (const char *)objCType { self = [super initWithBytes: bytes objCType: objCType]; @@ -45,14 +43,19 @@ OFFreeMemory(_bytes); OFFreeMemory(_objCType); [super dealloc]; } + +- (const char *)objCType +{ + return _objCType; +} - (void)getValue: (void *)value size: (size_t)size { if (size != _size) @throw [OFOutOfRangeException exception]; memcpy(value, _bytes, _size); } @end