ObjFW  Check-in [5b1f9db652]

Overview
Comment:Fix two small documentation bugs.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5b1f9db6522233c200b39d0c46eba9522b9dc4adb9ec2c4b7e355dc0f3cbaaa7
User & Date: js on 2013-02-14 02:08:31
Other Links: manifest | tags
Context
2013-02-17
10:14
Remove -Wno-deprecated-objc-isa-usage. check-in: 2347371351 user: js tags: trunk
2013-02-14
02:08
Fix two small documentation bugs. check-in: 5b1f9db652 user: js tags: trunk
02:07
Add -Wdocumentation if supported by the compiler. check-in: fac2c8063e user: js tags: trunk
Changes

Modified src/OFMutableArray.h from [e3a64cd9d6] to [81a3bf4a11].

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
 * @param object An object to add
 */
- (void)addObject: (id)object;

/*!
 * @brief Adds the objects from the specified OFArray to the end of the array.
 *
 * @brief array An array of objects to add
 */
- (void)addObjectsFromArray: (OFArray*)array;

/*!
 * @brief Inserts an object to the OFArray at the specified index.
 *
 * @param object An object to add







|







31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
 * @param object An object to add
 */
- (void)addObject: (id)object;

/*!
 * @brief Adds the objects from the specified OFArray to the end of the array.
 *
 * @param array An array of objects to add
 */
- (void)addObjectsFromArray: (OFArray*)array;

/*!
 * @brief Inserts an object to the OFArray at the specified index.
 *
 * @param object An object to add

Modified src/OFString+JSONValue.h from [7ddfd526cc] to [d30b1441d5].

55
56
57
58
59
60
61
62
63
64
65
66
67
68
 *          this is that most JSON parsers allow JSON data just consisting of a
 *          single primitive, leading to realworld JSON files sometimes only
 *          consisting of a single primitive. Therefore, you should not make any
 *          assumptions about the object returned by this method if you don't
 *          want your program to terminate due to a message not understood, but
 *          instead check the returned object using @ref isKindOfClass:.
 *
 * @brief depthLimit The maximum depth the parser should accept (defaults to 32
 *		     if not specified, 0 means no limit (insecure!))
 *
 * @return An object
 */
- (id)JSONValueWithDepthLimit: (size_t)depthLimit;
@end







|






55
56
57
58
59
60
61
62
63
64
65
66
67
68
 *          this is that most JSON parsers allow JSON data just consisting of a
 *          single primitive, leading to realworld JSON files sometimes only
 *          consisting of a single primitive. Therefore, you should not make any
 *          assumptions about the object returned by this method if you don't
 *          want your program to terminate due to a message not understood, but
 *          instead check the returned object using @ref isKindOfClass:.
 *
 * @param depthLimit The maximum depth the parser should accept (defaults to 32
 *		     if not specified, 0 means no limit (insecure!))
 *
 * @return An object
 */
- (id)JSONValueWithDepthLimit: (size_t)depthLimit;
@end