Function set_val_ref

Synopsis

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

void set_val_ref(size_t node, csubstr ref)

Description

No description yet.

Source

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

void set_val_ref   (size_t node, csubstr ref   ) { RYML_ASSERT( ! has_val_anchor(node)); NodeData* C4_RESTRICT n = _p(node); n->m_val.set_ref_maybe_replacing_scalar(ref, n->m_type.has_val()); _add_flags(node, VAL|VALREF); }





Add Discussion as Guest

Log in