ObjFW  Check-in [ed3fd5525e]

Overview
Comment:Add two more OF_SENTINEL.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ed3fd5525e74d84e9c9883c5c4656e71ade22f1df92ed8104cb08d142ef04db6
User & Date: js on 2012-11-11 11:51:12
Other Links: manifest | tags
Context
2012-11-11
12:12
Add -[OFString stringByAppendingFormat:]. check-in: da23dca008 user: js tags: trunk
11:51
Add two more OF_SENTINEL. check-in: ed3fd5525e user: js tags: trunk
2012-11-10
10:27
Make it possible to give threads a name. check-in: debba8efb6 user: js tags: trunk
Changes

Modified src/OFString.h from [f401ec63ba] to [51a8cd8c83].

239
240
241
242
243
244
245
246

247
248
249
250
251
252
253
239
240
241
242
243
244
245

246
247
248
249
250
251
252
253







-
+








/*!
 * @brief Creates a new OFString containing the constructed specified path.
 *
 * @param firstComponent The first component of the path
 * @return A new autoreleased OFString
 */
+ (instancetype)stringWithPath: (OFString*)firstComponent, ...;
+ (instancetype)stringWithPath: (OFString*)firstComponent, ... OF_SENTINEL;

/*!
 * @brief Creates a new OFString with the contents of the specified UTF-8
 *	  encoded file.
 *
 * @param path The path to the file
 * @return A new autoreleased OFString
471
472
473
474
475
476
477
478

479
480
481
482
483
484
485
471
472
473
474
475
476
477

478
479
480
481
482
483
484
485







-
+







/*!
 * @brief Initializes an already allocated OFString with the constructed
 *	  specified path.
 *
 * @param firstComponent The first component of the path
 * @return A new autoreleased OFString
 */
- initWithPath: (OFString*)firstComponent, ...;
- initWithPath: (OFString*)firstComponent, ... OF_SENTINEL;

/*!
 * @brief Initializes an already allocated OFString with the constructed
 *	  specified path.
 *
 * @param firstComponent The first component of the path
 * @param arguments A va_list with the other components of the path