ObjFW  Check-in [06349e3d84]

Overview
Comment:Remove superfluous parenthesis
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 06349e3d84487f640a41d31803791c9566294e9c16180e1a6fe59d2b73c567f4
User & Date: js on 2020-12-25 20:39:44
Other Links: manifest | tags
Context
2020-12-25
21:03
Move Unicode table generator to a subdirectory check-in: 21053d6a02 user: js tags: trunk
20:39
Remove superfluous parenthesis check-in: 06349e3d84 user: js tags: trunk
2020-12-24
12:37
configure: Enable fish completions if we have fish check-in: a8efee835a user: js tags: trunk
Changes

Modified src/OFXMLParser.m from [0dd447c3c4] to [a0e17680fe].

91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
	[OF_XMLPARSER_IN_DOCTYPE] = inDOCTYPEState
};

static OF_INLINE void
appendToBuffer(OFMutableData *buffer, const char *string,
    of_string_encoding_t encoding, size_t length)
{
	if (OF_LIKELY(encoding == OF_STRING_ENCODING_UTF_8))
		[buffer addItems: string
			   count: length];
	else {
		void *pool = objc_autoreleasePoolPush();
		OFString *tmp = [OFString stringWithCString: string
						   encoding: encoding
						     length: length];







|







91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
	[OF_XMLPARSER_IN_DOCTYPE] = inDOCTYPEState
};

static OF_INLINE void
appendToBuffer(OFMutableData *buffer, const char *string,
    of_string_encoding_t encoding, size_t length)
{
	if OF_LIKELY(encoding == OF_STRING_ENCODING_UTF_8)
		[buffer addItems: string
			   count: length];
	else {
		void *pool = objc_autoreleasePoolPush();
		OFString *tmp = [OFString stringWithCString: string
						   encoding: encoding
						     length: length];