Function regorust::regoNodeValueSize

source ยท
pub unsafe extern "C" fn regoNodeValueSize(
    node: *mut regoNode,
) -> regoSize
Expand description

Returns the number of bytes needed to store a 0-terminated string representing the text value of the node.

The value returned by this function can be used to allocate a buffer to pass to regoNodeValue.

@param node The node. @return The number of bytes needed to store the text value.