Differences From Artifact [de9d2023b1]:
- File
src/OFNull.m
— part of check-in
[6b77a5dd8b]
at
2017-05-21 21:28:57
on branch trunk
— Prefix private methods with of_ instead of OF_
This matches Apple's style. (user: js, size: 2443) [annotate] [blame] [check-ins using]
To Artifact [80f6393652]:
- File src/OFNull.m — part of check-in [c8f7b90082] at 2017-07-22 20:50:27 on branch trunk — Split OFDataArray into OFData and OFMutableData (user: js, size: 2367) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
15 16 17 18 19 20 21 | */ #include "config.h" #import "OFNull.h" #import "OFString.h" #import "OFXMLElement.h" | | | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | */ #include "config.h" #import "OFNull.h" #import "OFString.h" #import "OFXMLElement.h" #import "OFData.h" #import "OFInvalidArgumentException.h" @interface OFNull () - (OFString *)of_JSONRepresentationWithOptions: (int)options depth: (size_t)depth; @end |
︙ | ︙ | |||
97 98 99 100 101 102 103 | - (OFString *)of_JSONRepresentationWithOptions: (int)options depth: (size_t)depth { return @"null"; } | | < < | | < | 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | - (OFString *)of_JSONRepresentationWithOptions: (int)options depth: (size_t)depth { return @"null"; } - (OFData *)messagePackRepresentation { uint8_t type = 0xC0; return [OFData dataWithItems: &type count: 1]; } - autorelease { return self; } |
︙ | ︙ |