Differences From Artifact [65b65f023d]:
- File
src/OFArray.m
— part of check-in
[c5ef582958]
at
2013-03-04 17:20:15
on branch trunk
— Replace BOOL with bool.
The only places where BOOL is left are those where they are required by
the ABI. (user: js, size: 16325) [annotate] [blame] [check-ins using]
To Artifact [3ddd9aa2f7]:
- File
src/OFArray.m
— part of check-in
[cba771824e]
at
2013-06-19 19:14:11
on branch trunk
— Implement the new MessagePack specification.
No support for extensions yet.
This obsoletes BinaryPack. (user: js, size: 16327) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
559 560 561 562 563 564 565 | [JSON makeImmutable]; objc_autoreleasePoolPop(pool); return [JSON autorelease]; } | | | 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 | [JSON makeImmutable]; objc_autoreleasePoolPop(pool); return [JSON autorelease]; } - (OFDataArray*)messagePackRepresentation { OFDataArray *data; size_t i, count; void *pool; OFEnumerator *enumerator; id object; |
︙ | ︙ | |||
600 601 602 603 604 605 606 | enumerator = [self objectEnumerator]; while ((object = [enumerator nextObject]) != nil) { void *pool2 = objc_autoreleasePoolPush(); OFDataArray *child; i++; | | | 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 | enumerator = [self objectEnumerator]; while ((object = [enumerator nextObject]) != nil) { void *pool2 = objc_autoreleasePoolPush(); OFDataArray *child; i++; child = [object messagePackRepresentation]; [data addItems: [child items] count: [child count]]; objc_autoreleasePoolPop(pool2); } assert(i == count); |
︙ | ︙ |