ObjFW  Check-in [8edaa642e4]

Overview
Comment:Add two more OF_SENTINEL.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 0.7
Files: files | file ages | folders
SHA3-256: 8edaa642e473f20ad8e970bbfa05af13c2647d94add6162ed0abbf8f2863a8fd
User & Date: js on 2012-11-11 11:51:39
Other Links: branch diff | manifest | tags
Context
2012-11-12
11:09
Update ChangeLog for 0.7.1. check-in: 41ddf50694 user: js tags: 0.7
2012-11-11
11:51
Add two more OF_SENTINEL. check-in: 8edaa642e4 user: js tags: 0.7
2012-11-08
13:50
PLATFORMS.md: Add Clang 3.2 to Haiku. check-in: a2084ae791 user: js tags: 0.7
Changes

Modified src/OFString.h from [cab3d30f53] to [25f3180e0b].

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