mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-12 00:07:24 -06:00
Arg_desc
This commit is contained in:
parent
10b8475012
commit
2f4a0c9b79
@ -66,11 +66,11 @@ struct InitListPlaceholder
|
|||||||
#define CTOR_INIT(type, name, jsonKey, required, tag, ...) \
|
#define CTOR_INIT(type, name, jsonKey, required, tag, ...) \
|
||||||
_##name{ name##Param },
|
_##name{ name##Param },
|
||||||
|
|
||||||
#define ARGDESC_STRINGIFY2(x) #x
|
#define ARG_DESC_STRINGIFY2(x) #x
|
||||||
#define ARGDESC_STRINGIFY(x) ARGDESC_STRINGIFY2(x)
|
#define ARG_DESC_STRINGIFY(x) ARG_DESC_STRINGIFY2(x)
|
||||||
#define ARGDESC_WIDEN2(x) L##x
|
#define ARG_DESC_WIDEN2(x) L##x
|
||||||
#define ARGDESC_WIDEN(x) ARGDESC_WIDEN2(x)
|
#define ARG_DESC_WIDEN(x) ARG_DESC_WIDEN2(x)
|
||||||
#define LOCALIZED_NAME(name) ARGDESC_WIDEN(ARGDESC_STRINGIFY(name##Localized))
|
#define LOCALIZED_NAME(name) ARG_DESC_WIDEN(ARG_DESC_STRINGIFY(name##Localized))
|
||||||
|
|
||||||
// append this argument's description to the internal vector
|
// append this argument's description to the internal vector
|
||||||
#define APPEND_ARG_DESCRIPTION(type, name, jsonKey, required, tag, ...) \
|
#define APPEND_ARG_DESCRIPTION(type, name, jsonKey, required, tag, ...) \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user