Data Fields | |
WCHAR ** | argv |
int | argc |
int | index |
int | used |
Support for using the common argument parsing. We have a type definition for the encapsulated the arg vector, current position, and callback info, and callbacks to set the number of args used, convert a specified arg to UTF-8, and get the program name in UTF-8.
int parse_args_t::argc |
The original arg vector length.
WCHAR** parse_args_t::argv |
The original arg vector.
int parse_args_t::index |
The current arg vector index.
int parse_args_t::used |
The number of args consumed by parsing an option.