Function rb_arithmetic_sequence_extract

Source
pub unsafe extern "C" fn rb_arithmetic_sequence_extract(
    as_: VALUE,
    buf: *mut rb_arithmetic_sequence_components_t,
) -> c_int
Expand description

Extracts components of the passed arithmetic sequence. This can be seen as an extended version of rb_range_values.

ยง@param[in] as Target instance of Enumerator::ArithmericSequence. @param[out] buf Decomposed results buffer. @return 0 as is not Enumerator::ArithmericSequence. @return 1 Success. @post buf is filled.

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