Skip to contents

What this build of zuffi has

Usage

zuffi_info()

Value

A list: version, zuffi's version; libffi, the vendored libffi's version; target, the libffi target it was built for. Both are NA where libffi has no target, and every call then raises a zuffi_target_error (design §4.8); uniffi, the UniFFI contract versions the runtime reads (33, UniFFI 0.33; design D9); closures, whether this process can make callbacks now (ffi_callback()), which needs executable memory the system may refuse (design §4.9); preprocessors, the preprocessors ffi_include() can use here, a named character vector (cc: the C compiler's command), empty when there is none. Later versions add fields.

Examples

zuffi_info()
#> $version
#> [1] "0.0.0.9000"
#> 
#> $libffi
#> [1] "3.8.2"
#> 
#> $target
#> [1] "X86_64"
#> 
#> $uniffi
#> [1] 33
#> 
#> $closures
#> [1] TRUE
#> 
#> $preprocessors
#>    cc 
#> "gcc" 
#>