23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
OF_ASSUME_NONNULL_BEGIN
/*!
* @struct of_options_parser_option_t OFOptionsParser.h ObjFW/OFOptionsParser.h
*
* @brief An option which can be parsed by an @ref OFOptionsParser.
*/
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;
|
|
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
OF_ASSUME_NONNULL_BEGIN
/*!
* @struct of_options_parser_option_t OFOptionsParser.h ObjFW/OFOptionsParser.h
*
* @brief An option which can be parsed by an @ref OFOptionsParser.
*/
typedef struct {
/*! 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;
|