Function set_key_anchor

Synopsis

#include <src/c4/yml/tree.hpp>

void set_key_anchor(size_t node, csubstr anchor)

Description

No description yet.

Source

Lines 691-691 in src/c4/yml/tree.hpp.

void set_key_anchor(size_t node, csubstr anchor) { RYML_ASSERT( ! is_key_ref(node)); _p(node)->m_key.anchor = anchor.triml('&'); _add_flags(node, KEYANCH); }





Add Discussion as Guest

Log in