From 777401d7de9b094dea8b1be4b93eb2fc851c2068 Mon Sep 17 00:00:00 2001 From: nanahi <130121847+na-na-hi@users.noreply.github.com> Date: Sun, 5 Apr 2026 17:10:41 -0400 Subject: [PATCH] options/m_property: add SUB_PROP_STRING_LIST Helper used in next commits. --- options/m_property.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/options/m_property.h b/options/m_property.h index 7d00baaa9a..ba4ba25ad6 100644 --- a/options/m_property.h +++ b/options/m_property.h @@ -226,6 +226,8 @@ struct m_sub_property { .type = {.type = &m_option_type_time}, .value = {.double_ = (f)} #define SUB_PROP_KEYVALUE_LIST(l) \ .type = {.type = &m_option_type_keyvalue_list}, .value = {.keyvalue_list = (l)} +#define SUB_PROP_STRING_LIST(l) \ + .type = {.type = CONF_TYPE_STRING_LIST}, .value = {.string_list = (l)} // Expose a C array as a read-only array sub-property. The caller retains // ownership of the data pointer. It will be copied if needed. Used for // to expose arrays as sub-properties.