summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/m_property.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/options/m_property.h b/options/m_property.h
index 35d704ad97..d71ec033aa 100644
--- a/options/m_property.h
+++ b/options/m_property.h
@@ -200,6 +200,8 @@ struct m_sub_property {
.type = {.type = CONF_TYPE_DOUBLE}, .value = {.double_ = (f)}
#define SUB_PROP_FLAG(f) \
.type = {.type = CONF_TYPE_FLAG}, .value = {.flag = (f)}
+#define SUB_PROP_PTS(f) \
+ .type = {.type = &m_option_type_time}, .value = {.double_ = (f)}
int m_property_read_sub(const struct m_sub_property *props, int action, void *arg);