Differences From Artifact [46d3358a90]:
- File src/OFValue_pointer.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: 1133) [annotate] [blame] [check-ins using]
To Artifact [612ef456b8]:
- File src/OFValue_pointer.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: 1188) [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]; _pointer = (void *)pointer; return self; } - (const char *)objCType { return @encode(void *); } - (void)getValue: (void *)value size: (size_t)size { if (size != sizeof(_pointer)) @throw [OFOutOfRangeException exception]; |
︙ |