Macro libyml::STRING_INIT
source · macro_rules! STRING_INIT { ($string:expr) => { ... }; }
Expand description
Initializes a string for use with the yaml library.
This macro allocates memory for a string, initializes the start, pointer, and end pointers, and sets the memory to all zeros.
§Parameters
$string
: A mutable reference to aYamlStringT
struct, representing the string to be initialized.
§Return
This macro does not return a value.