Function rollback

Source
pub unsafe extern "C" fn rollback(
    read_ptr: u32,
    read_len: u32,
    error_code: i64,
) -> i64
Expand description

Rollback the originating transaction, discard all hook state changes and emitted transactions. @param read_ptr An optional string to use as a return comment. May be 0. @param read_len The length of the string. May be 0. @return Will never return, terminates the hook.