Sha256: 25d5d09e4d8dd5e2e0b90e02b394a14bb88a92d016a7a4d596608049cc8699a1
Contents?: true
Size: 144 Bytes
Versions: 6
Compression:
Stored size: 144 Bytes
Contents
require 'rubygems' require 'ffi' module Foo extend FFI::Library attach_function :getlogin, [ ], :string end puts "getlogin=#{Foo.getlogin}"
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
ffi-0.3.1 | samples/getlogin.rb |
ffi-0.1.0 | samples/getlogin.rb |
ffi-0.2.0 | samples/getlogin.rb |
ffi-0.1.1 | samples/getlogin.rb |
ffi-0.3.0 | samples/getlogin.rb |
ffi-0.3.2 | samples/getlogin.rb |