pub unsafe extern "C" fn rb_range_values(
range: VALUE,
begp: *mut VALUE,
endp: *mut VALUE,
exclp: *mut c_int,
) -> c_intExpand description
Deconstructs a range into its components.
ยง@param[in] range Range or range-ish object.
@param[out] begp Return value buffer.
@param[out] endp Return value buffer.
@param[out] exclp Return value buffer.
@retval RUBY_Qfalse range is not an instance of ::rb_cRange.
@retval RUBY_Qtrue Argument pointers are updated.
@post *begp is the left endpoint of the range.
@post *endp is the right endpoint of the range.
@post *exclp is whether the range is open-ended or not.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3