summaryrefslogtreecommitdiff
path: root/src/buildstream/_yaml.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_yaml.pxd')
-rw-r--r--src/buildstream/_yaml.pxd2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buildstream/_yaml.pxd b/src/buildstream/_yaml.pxd
index 27a1a888e..640563318 100644
--- a/src/buildstream/_yaml.pxd
+++ b/src/buildstream/_yaml.pxd
@@ -38,7 +38,9 @@ cdef class ProvenanceInformation:
cdef public bint is_synthetic
+cpdef bint is_node(object maybenode)
cpdef object node_get(Node node, object expected_type, str key, list indices=*, object default_value=*, bint allow_none=*)
cpdef void node_set(Node node, object key, object value, list indices=*) except *
cpdef list node_keys(object node)
cpdef ProvenanceInformation node_get_provenance(Node node, str key=*, list indices=*)
+cpdef void node_validate(Node node, list valid_keys) except *