diff options
Diffstat (limited to 'options/m_property.h')
-rw-r--r-- | options/m_property.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/m_property.h b/options/m_property.h index b7dbcfb378..0336677f46 100644 --- a/options/m_property.h +++ b/options/m_property.h @@ -189,6 +189,8 @@ struct m_sub_property { .type = {.type = CONF_TYPE_STRING}, .value = {.string = (char *)(s)} #define SUB_PROP_FLOAT(f) \ .type = {.type = CONF_TYPE_FLOAT}, .value = {.float_ = (f)} +#define SUB_PROP_DOUBLE(f) \ + .type = {.type = CONF_TYPE_DOUBLE}, .value = {.double_ = (f)} #define SUB_PROP_FLAG(f) \ .type = {.type = CONF_TYPE_FLAG}, .value = {.flag = (f)} |