Macro libyml::STRING_EXTEND

source ·
macro_rules! STRING_EXTEND {
    ($string:expr) => { ... };
}
Expand description

Extends the capacity of a string by reallocating memory if the current capacity is insufficient.

§Parameters

  • string: A mutable reference to a YamlStringT struct representing the string.

§Return

This macro does not return a value. It extends the capacity of the string by reallocating memory if necessary.