|
@@ -11,8 +11,8 @@ static const SettingVariant _currency_se
|
|
|
[post-amble]
|
|
|
};
|
|
|
[templates]
|
|
|
SDT_VAR = SDT_VAR (CurrencySpec, $var, $type, $flags, $def, $min, $max, $interval, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
|
|
|
SDT_SSTR = SDT_SSTR(CurrencySpec, $var, $type, $flags, $def, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
|
|
|
SDT_VAR = SDT_VAR (CurrencySpec, $var, $type, $flags, $def, $min, $max, $interval, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup, $extver),
|
|
|
SDT_SSTR = SDT_SSTR(CurrencySpec, $var, $type, $flags, $def, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup, $extver),
|
|
|
|
|
|
[validation]
|
|
|
SDT_VAR = static_assert($max <= MAX_$type, "Maximum value for CurrencySpec.$var exceeds storage size");
|
|
@@ -31,6 +31,7 @@ to = SL_MAX_VERSION
|
|
|
cat = SC_ADVANCED
|
|
|
extra = 0
|
|
|
startup = false
|
|
|
extver = SlXvFeatureTest()
|
|
|
|
|
|
|
|
|
[SDT_VAR]
|