summaryrefslogtreecommitdiff
path: root/src/py_value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/py_value.cc')
-rw-r--r--src/py_value.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/py_value.cc b/src/py_value.cc
index e94e74c1..ee039519 100644
--- a/src/py_value.cc
+++ b/src/py_value.cc
@@ -327,6 +327,10 @@ void export_value()
.def("basetype", py_base_type)
;
+ class_< value_t::sequence_t > ("ValueSequence")
+ .def(vector_indexing_suite< value_t::sequence_t >());
+ ;
+
scope().attr("NULL_VALUE") = NULL_VALUE;
scope().attr("string_value") = &string_value;
scope().attr("mask_value") = &mask_value;