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.pxd3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildstream/_yaml.pxd b/src/buildstream/_yaml.pxd
index 6b0d3fd20..d198103f1 100644
--- a/src/buildstream/_yaml.pxd
+++ b/src/buildstream/_yaml.pxd
@@ -39,6 +39,8 @@ cdef class MappingNode(Node):
cpdef bint get_bool(self, str key, default=*) except *
cpdef int get_int(self, str key, default=*) except *
cpdef str get_str(self, str key, object default=*)
+ cpdef void safe_del(self, str key)
+
cdef class ScalarNode(Node):
@@ -64,7 +66,6 @@ cdef class ProvenanceInformation:
cdef public bint is_synthetic
-cpdef void node_del(Node node, str key, bint safe=*) except *
cpdef void node_validate(Node node, list valid_keys) except *
cpdef void node_set(Node node, object key, object value, list indices=*) except *
cpdef list node_keys(Node node)