[ CCode ( has_target = false ) ]
public delegate bool OptionParseFunc (OptionContext context, OptionGroup group, void* data) throws OptionError
The type of function that can be called before and after parsing.
| context |
The active OptionContext |
| group |
The group to which the function belongs |
| data |
User data added to the OptionGroup containing the option when it was created with OptionGroup |
|
true if the function completed successfully,
false if an error occurred, in which case throws should be set with |