Function rb_exec_recursive_outer

Source
pub unsafe extern "C" fn rb_exec_recursive_outer(
    f: Option<unsafe extern "C" fn(g: VALUE, h: VALUE, r: c_int) -> VALUE>,
    g: VALUE,
    h: VALUE,
) -> VALUE
Expand description

Identical to rb_exec_recursive, except it calls f for outermost recursion only. Inner recursions yield calls to rb_throw_obj.

@param[in] f The function that possibly recurs. @param[in,out] g Passed as-is to f. @param[in,out] h Passed as-is to f. @return The return value of f.

@internal

§It seems nobody uses the “it calls rb_throw_obj” part of this function. @shyouhei doesn’t understand the needs.

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3