Sha256: 0b729f4efdf91a139eb39153131ec7656e3b04aa25c5d637fe8f00baa9df01d2

Contents?: true

Size: 281 Bytes

Versions: 110

Compression:

Stored size: 281 Bytes

Contents

if !defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby"
  begin
    if RUBY_VERSION =~ /1.8/
      require '1.8/ffi_c'
    elsif RUBY_VERSION =~ /1.9/
      require '1.9/ffi_c'
    else
      require 'ffi_c'
    end
  rescue Exception
    require 'ffi_c'
  end

  require 'ffi/ffi'
end

Version data entries

110 entries across 110 versions & 9 rubygems

Version Path
ffi-1.2.0.dev2 lib/ffi.rb
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/ffi-1.1.5/lib/ffi.rb
classiccms-0.5.7 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
ffi-1.1.5 lib/ffi.rb
classiccms-0.5.6 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
ffi-1.1.4-x86-mingw32 lib/ffi.rb
ffi-1.1.4 lib/ffi.rb
classiccms-0.5.5 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
classiccms-0.5.2 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
classiccms-0.5.1 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
classiccms-0.5.0 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
ffi-1.1.3-x86-mingw32 lib/ffi.rb
ffi-1.1.3 lib/ffi.rb
ffi-1.1.2-x86-mingw32 lib/ffi.rb
ffi-1.1.2 lib/ffi.rb
ffi-1.2.0.dev lib/ffi.rb
ffi-1.1.1-x86-mingw32 lib/ffi.rb
ffi-1.1.1 lib/ffi.rb
ffi-1.1.1.rc2 lib/ffi.rb
ffi-1.1.1.rc1 lib/ffi.rb