Function regorust::regoSetDebugPath

source ยท
pub unsafe extern "C" fn regoSetDebugPath(
    rego: *mut regoInterpreter,
    path: *const c_char,
) -> regoEnum
Expand description

@brief Sets the path to the debug directory. @details If set, then (when in debug mode) the interpreter will output intermediary ASTs after each compiler pass to the debug directory. If the directory does not exist, it will be created. @par If an error code is returned, more error information can be obtained by calling ::regoError. @param rego The interpreter. @param path The path to the debug directory. @return REGO_OK if successful, REGO_ERROR otherwise.