Skip to main content

R_RegisterCCallable

Function R_RegisterCCallable 

Source
pub(crate) unsafe fn R_RegisterCCallable(
    package: *const c_char,
    name: *const c_char,
    fptr: DL_FUNC,
)
Expand description

Register a C-callable function for cross-package access. Checked wrapper for R_RegisterCCallable. Calls R_RegisterCCallable_unchecked inside with_r_thread, which panics off R’s main thread. Generated from source location line 362, column 19. Generated from source file miniextendr-api/src/sys.rs.