Skip to main content

R_compute_identical_unchecked

Function R_compute_identical_unchecked 

Source
pub unsafe extern "C-unwind" fn R_compute_identical_unchecked(
    x: SEXP,
    y: SEXP,
    flags: c_int,
) -> Rboolean
Expand description

Check if two R objects are identical (deep semantic equality).

This is the C implementation of R’s identical() function.

§Flags

Use the IDENT_* constants below. Flags are inverted: set bit = disable that check.

Default from R: IDENT_USE_CLOENV (16) - ignore closure environments

§Returns

TRUE if identical, FALSE otherwise.

§Performance

Fast-path: Returns TRUE immediately if pointers are equal. Unchecked FFI binding for R_compute_identical. Generated from source location line 2415, column 12. Generated from source file miniextendr-api/src/ffi.rs.