ObjFW  Check-in [8016757def]

Overview
Comment:Make -[OFHTTPRequest setBodyFromString:] nonnull
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8016757defcec95d717c5530a8ce876a1a1ce70832f5d5e076475fd8e4dfb6e1
User & Date: js on 2017-05-07 21:16:01
Other Links: manifest | tags
Context
2017-05-07
21:17
Use generic for -[OFException backtrace] check-in: 70adcc7bdd user: js tags: trunk
21:16
Make -[OFHTTPRequest setBodyFromString:] nonnull check-in: 8016757def user: js tags: trunk
20:10
Small code style change check-in: 4af49a13c3 user: js tags: trunk
Changes

Modified src/OFHTTPRequest.h from [f3657b719a] to [9f0eddeab0].

168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191

/*!
 * @brief Sets the entity body of the HTTP request to the specified string
 *	  encoded in UTF-8.
 *
 * @param string The string to use for the entity body
 */
- (void)setBodyFromString: (nullable OFString *)string;

/*!
 * @brief Sets the entity body of the HTTP request to the specified string
 *	  encoded in the specified encoding.
 *
 * @param string The string to use for the entity body
 * @param encoding The encoding to encode the string with
 */
- (void)setBodyFromString: (nullable OFString *)string
		 encoding: (of_string_encoding_t)encoding;
@end

#ifdef __cplusplus
extern "C" {
#endif
/*!







|








|







168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191

/*!
 * @brief Sets the entity body of the HTTP request to the specified string
 *	  encoded in UTF-8.
 *
 * @param string The string to use for the entity body
 */
- (void)setBodyFromString: (OFString *)string;

/*!
 * @brief Sets the entity body of the HTTP request to the specified string
 *	  encoded in the specified encoding.
 *
 * @param string The string to use for the entity body
 * @param encoding The encoding to encode the string with
 */
- (void)setBodyFromString: (OFString *)string
		 encoding: (of_string_encoding_t)encoding;
@end

#ifdef __cplusplus
extern "C" {
#endif
/*!