Macro libyml::STRING_DEL

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

Deletes a string and frees the allocated memory.

§Parameters

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

§Return

This function does not return a value.

§Safety

This function assumes that the string parameter is a valid pointer to a YamlStringT struct. It calls the yaml_free function to free the allocated memory for the string.