Function regorust::regoNodeValue

source ยท
pub unsafe extern "C" fn regoNodeValue(
    node: *mut regoNode,
    buffer: *mut c_char,
    size: regoSize,
) -> regoEnum
Expand description

Populate a buffer with the node value.

The buffer must be large enough to hold the value. The size of the buffer can be determined by calling regoNodeValueSize.

@param node The node. @param buffer The buffer to populate. @param size The size of the buffer. @return REGO_OK if successful, REGO_ERROR_BUFFER_TOO_SMALL otherwise.