ObjFW  Check-in [4d4a95aeb6]

Overview
Comment:OFOptionsParser.h: Add missing __unsafe_unretained
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4d4a95aeb63186605c5d93b5d640a12129e5d5fff777788035c309c23ebcb4dc
User & Date: js on 2015-12-03 21:44:58
Other Links: manifest | tags
Context
2015-12-05
21:03
OFOptionsParser: Fix *isSpecifiedPtr not being set check-in: aa89a3c059 user: js tags: trunk
2015-12-03
21:44
OFOptionsParser.h: Add missing __unsafe_unretained check-in: 4d4a95aeb6 user: js tags: trunk
20:56
OFOptionsParser: Fix a nil vs. NULL mishap check-in: 13e226f9c8 user: js tags: trunk
Changes

Modified src/OFOptionsParser.h from [5b6e0b9788] to [b0fdacc300].

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
typedef struct of_options_parser_option_t {
	/*! The short version (e.g. `-v`) of the option or `\0` for none. */
	of_unichar_t shortOption;

	/*!
	 * The long version (e.g. `--verbose`) of the option or `nil` for none.
	 */
	OFString *_Nullable longOption;

	/*!
	 * Whether the option takes an argument.
	 *
	 * 0 means it takes no argument.@n
	 * 1 means it takes a required argument.@n
	 * -1 means it takes an optional argument.@n







|







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
typedef struct of_options_parser_option_t {
	/*! The short version (e.g. `-v`) of the option or `\0` for none. */
	of_unichar_t shortOption;

	/*!
	 * The long version (e.g. `--verbose`) of the option or `nil` for none.
	 */
	OFString *__unsafe_unretained _Nullable longOption;

	/*!
	 * Whether the option takes an argument.
	 *
	 * 0 means it takes no argument.@n
	 * 1 means it takes a required argument.@n
	 * -1 means it takes an optional argument.@n