Expand description
Dynamic library loading โ dyn.load(), dyn.unload(), symbol lookup.
Uses libloading to load shared libraries (.so on Linux, .dylib on macOS)
and resolve function symbols for .Call() dispatch.
The actual native function call goes through a C trampoline
(_minir_call_protected in csrc/native_trampoline.c) which sets up
setjmp so that Rf_error() in C code safely longjmps back instead of
crashing. The trampoline handles variable argument counts (up to 16 SEXP args).
Structsยง
- Loaded
Dll - A loaded dynamic library and its resolved symbols.
Enumsยง
- CBuffer ๐
- A C-compatible buffer for passing data to .C() functions.
Constantsยง
- CURRENT_
INTERP ๐
Functionsยง
- callback_
define_ ๐var - callback_
eval_ ๐expr - callback_
find_ ๐var - callback_
parse_ ๐text
Type Aliasesยง
- PkgInit
Fn ๐ - Signature of
R_init_<pkgname>(DllInfo*)package init function.