Function rb_exec_recursive

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

“Recursion” API entry point. This basically calls the given function with the given arguments, but additionally with recursion flag. The flag is set to 1 if the execution have already experienced the passed g parameter before.

§@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.

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