Interface to libffi to dynamically invoke arbitrary compiled routines at run-time without compiled bindings


[Up] [Top]

Documentation for package ‘Rffi’ version 0.3-0

Help Pages

addFinalizer Register a finalizer to garbage collect allocated memory
addFinalizer-method Register a finalizer to garbage collect allocated memory
addrOf Get the address of a native data instance
alloc Allocate memory
alloc-method Allocate memory
arrayType Create a type description for a C-level structure or array
callCIF Dynamically invoke a compiled routine
CIF Create interface template for invoking compiled routines with a given signature
CIF-class Class to represent external Call InterFace (CIF)
doubleType Objects representing different native data types
FFIType-class Objects representing different native data types
FixedLengthStringFFIType-class Objects representing different native data types
floatType Objects representing different native data types
free Explicitly release natively allocated memory
getNativeValue Retrieve the value of a compiled object
getStructField Access a native structure from R
getStructField-method Access a native structure from R
getStructValue Access a native structure from R
getTypes Objects representing different native data types
longdoubleType Objects representing different native data types
makeClosure Turn a function into a closure with some non-local variables
PointerFFIType-class Objects representing different native data types
pointerType Objects representing different native data types
prepCIF Create interface template for invoking compiled routines with a given signature
ScalarFFIType-class Objects representing different native data types
setSlots Run-time helper function to set slots of an object by name
sexpType Objects representing different native data types
sint16Type Objects representing different native data types
sint32Type Objects representing different native data types
sint64Type Objects representing different native data types
sint8Type Objects representing different native data types
sizeof Compute the number of bytes the corresponding FFI type occupies
sizeof-method Compute the number of bytes the corresponding FFI type occupies
stringArrayType Create a type description for a C-level structure or array
StringFFIType-class Objects representing different native data types
stringType Objects representing different native data types
StructFFIType-class Objects representing different native data types
structInfo Get information about a C-level struct type description
structType Create a type description for a C-level structure or array
uint16Type Objects representing different native data types
uint32Type Objects representing different native data types
uint64Type Objects representing different native data types
uint8Type Objects representing different native data types
VoidFFIType-class Objects representing different native data types
voidType Objects representing different native data types