Skip to main content

__rhash_hash_shim

Function __rhash_hash_shim 

Source
#[doc(hidden)]
unsafe extern "C" fn __rhash_hash_shim<__ImplT: RHash>( data: *mut c_void, argc: i32, argv: *const SEXP, ) -> SEXP
Expand description

Method shim for RHash::hash.

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