OpenBSD ports

The devel/ruby-ffi,ruby34 port

ruby34-ffi-1.17.2 – cross-platform dynamic library loading for ruby

Description

Ruby-FFI is a gem for programmatically loading dynamically-linked native
libraries, binding functions within them, and calling those functions
from Ruby code. Moreover, a Ruby-FFI extension works without changes on
CRuby (MRI), JRuby, Rubinius and TruffleRuby.

* Intuitive DSL
* Supports all C native types
* C structs (also nested), enums and global variables
* Callbacks from C to Ruby
* Automatic garbage collection of native memory
* Usable in Ractor: How-to-use-FFI-in-Ruby-Ractors

WWW: https://github.com/ffi/ffi
Only for arches
aarch64 aarch64 alpha amd64 amd64 arm arm hppa i386 i386 mips64 mips64 mips64el mips64el powerpc powerpc powerpc64 powerpc64 riscv64 riscv64 sparc64
Categories:
devel lang/ruby

Library dependencies

Build dependencies

Run dependencies