Macro libyml::CLEAR

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

Clears the content of the string by setting the pointer to the start and filling the memory from the start to the end with zeros.

§Parameters

  • string: A mutable reference to a struct containing the start, pointer, and end pointers representing the string.

§Return

This macro does not return a value. It modifies the content of the string in place.