Sha256: 02c5dd9125a2fcc8264f226a32d80b70340567d9dfa2a0cfb1a9ddd1602888c5
Contents?: true
Size: 197 Bytes
Versions: 6718
Compression:
Stored size: 197 Bytes
Contents
require 'ffi' module Foo extend FFI::Library ffi_lib FFI::Library::LIBC attach_function("cputs", "puts", [ :string ], :int) end Foo.cputs("Hello, World via libc puts using FFI on MRI ruby")
Version data entries
6,718 entries across 6,714 versions & 38 rubygems