Skip to contents

All functions

ffi_arg()
A typed argument for a variadic function
ffi_callback()
R functions as C function pointers
ffi_cdef()
Declare C functions, types and constants
ffi_constants()
The constants a handle knows
ffi_dlopen() ffi_dlsym() ffi_close()
Open, look into and close a shared library
ffi_errno() ffi_last_error()
The C library's error codes after a call
ffi_functions()
The functions a handle declares
ffi_in() ffi_out() ffi_inout() ffi_owned()
Annotations: what a C declaration cannot say
ffi_include()
Declare a C library from its header
ffi_new()
Allocate C memory
ffi_sizeof() ffi_offsetof()
Sizes and member offsets of C types
uniffi_load()
Load a Rust crate built with UniFFI
zuffi_info()
What this build of zuffi has
ffi_cast() ffi_string() ffi_own() ffi_free()
Pointers: casts, strings, ownership and freeing