ObjFW  Diff

Differences From Artifact [60cb5a925a]:

To Artifact [1a4f4e7d5d]:

  • File src/OFINICategory.h — part of check-in [0a73af49f0] at 2017-04-30 13:35:16 on branch trunk — Use nonatomic for properties and clean up

    This changes retaining behavior, meaning properties are not returned
    retained and autoreleased anymore, so a property returned from a getter
    now needs to be manually retained and autoreleased before calling the
    setter. However, this is rarely the case and not using atomic improves
    performance. (user: js, size: 7808) [annotate] [blame] [check-ins using]


34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
	OFString *_name;
	OFMutableArray *_lines;
}

/*!
 * The name of the INI category
 */
@property (copy) OFString *name;

/*!
 * @brief Returns the string value for the specified key, or `nil` if it does
 *	  not exist.
 *
 * If the specified key is a multi-key (see @ref arrayForKey:), the value of
 * the first key/value pair found is returned.







|







34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
	OFString *_name;
	OFMutableArray *_lines;
}

/*!
 * The name of the INI category
 */
@property (nonatomic, copy) OFString *name;

/*!
 * @brief Returns the string value for the specified key, or `nil` if it does
 *	  not exist.
 *
 * If the specified key is a multi-key (see @ref arrayForKey:), the value of
 * the first key/value pair found is returned.