summaryrefslogtreecommitdiffstats
path: root/src/values.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/values.c')
-rw-r--r--src/values.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/values.c b/src/values.c
index 02544cd..9046edf 100644
--- a/src/values.c
+++ b/src/values.c
@@ -56,6 +56,15 @@ slv2_values_get_at(SLV2Values list, unsigned index)
}
+/* private */
+void
+slv2_values_set_at(SLV2Values list, unsigned index, void* value)
+{
+ if (index <= INT_MAX)
+ raptor_sequence_set_at(list, index, value);
+}
+
+
bool
slv2_values_contains(SLV2Values list, SLV2Value value)
{