Sha256: 09dfa5741a8adc224632bcc2ce50d0f4160ebaaa586dff1cc51ec245041d09ea
Contents?: true
Size: 231 Bytes
Versions: 2614
Compression:
Stored size: 231 Bytes
Contents
require 'ffi' module Foo extend FFI::Library ffi_lib FFI::Library::LIBC attach_function("cputs", "puts", [ :string ], :int) freeze end Ractor.new do Foo.cputs("Hello, World via libc puts using FFI in a Ractor") end.take
Version data entries
2,614 entries across 2,614 versions & 21 rubygems