Differences From Artifact [e080df1e1c]:
- File src/OFValue_nonretainedObject.m — part of check-in [237a4e91a9] at 2018-01-21 01:38:18 on branch trunk — OFValue: Add support for pointers and objects (user: js, size: 1141) [annotate] [blame] [check-ins using]
To Artifact [b5a2c6c06d]:
- File src/OFValue_nonretainedObject.m — part of check-in [2ca34d3de1] at 2018-01-21 12:18:59 on branch trunk — OFValue: Support for {point,dimension,rectangle}s (user: js, size: 1192) [annotate] [blame] [check-ins using]
︙ | |||
27 28 29 30 31 32 33 34 35 36 37 38 39 40 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | + + + + + | { self = [super init]; _object = object; return self; } - (const char *)objCType { return @encode(id); } - (void)getValue: (void *)value size: (size_t)size { if (size != sizeof(_object)) @throw [OFOutOfRangeException exception]; |
︙ |