Skip to main content

jit_pattern_extract_constructor

Function jit_pattern_extract_constructor 

Source
pub extern "C" fn jit_pattern_extract_constructor(
    obj_bits: u64,
    mode: u64,
) -> u64
Expand description

Extract value from Ok/Err constructor pattern mode: 0 = Ok (try “Ok” then “value”), 1 = Err (try “Err” then “error”) Returns the extracted value or TAG_NULL if not found