Skip to main content

__riterator_next_shim

Function __riterator_next_shim 

Source
#[doc(hidden)]
unsafe extern "C" fn __riterator_next_shim<__ImplT: RIterator + IntoR>( data: *mut c_void, argc: i32, argv: *const SEXP, ) -> SEXP
where Option<<__ImplT as RIterator>::Item>: IntoR, Vec<<__ImplT as RIterator>::Item>: IntoR,
Expand description

Method shim for RIterator::next.

Converts SEXP arguments, calls the method, and returns SEXP result. Both Rust panics and R longjmps are caught via with_r_unwind_protect.