ObjFW  Check-in [3eae5ffa15]

Overview
Comment:Add properties to OFString.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3eae5ffa15de13793cbe4bb377e43bcdc5e76f835ed30924e740c9618c9aa3a6
User & Date: js on 2011-07-23 15:40:26
Other Links: manifest | tags
Context
2011-07-24
20:05
Add a few defines for runtime methods so they always have the same name. check-in: c7bc7b93d9 user: js tags: trunk
2011-07-23
15:40
Add properties to OFString. check-in: 3eae5ffa15 user: js tags: trunk
15:02
Revert to old of_fast_enumeration_state_t as gcc 4.6 chokes on the new. check-in: fd7e4116e3 user: js tags: trunk
Changes

Modified src/OFString.h from [9c1d78f2d3] to [5a32f0ead2].

84
85
86
87
88
89
90






91
92
93
94
95
96
97
	} *restrict s;
	/*
	 * Unused in OFString, however, OFConstantString sets this to SIZE_MAX
	 * once it allocated and initialized the struct.
	 */
	size_t initialized;
}







/**
 * \return A new autoreleased OFString
 */
+ string;

/**







>
>
>
>
>
>







84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
	} *restrict s;
	/*
	 * Unused in OFString, however, OFConstantString sets this to SIZE_MAX
	 * once it allocated and initialized the struct.
	 */
	size_t initialized;
}

#ifdef OF_HAVE_PROPERTIES
@property (readonly) const char *cString;
@property (readonly) size_t cStringLength;
@property (readonly) size_t length;
#endif

/**
 * \return A new autoreleased OFString
 */
+ string;

/**