Sha256: 84356604a4669c91542f55f418d05f58726685dbf3c64d8823e23ab9ea1863d2
Contents?: true
Size: 574 Bytes
Versions: 2
Compression:
Stored size: 574 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' elsif defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby' $LOAD_PATH.delete(File.dirname(__FILE__)) $LOAD_PATH.delete(File.join(File.dirname(__FILE__), 'ffi')) unless $LOADED_FEATURES.nil? $LOADED_FEATURES.delete(__FILE__) $LOADED_FEATURES.delete('ffi.rb') end require 'ffi.rb' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ffi-1.2.0.pre6-x86-mingw32 | lib/ffi.rb |
ffi-1.2.0.pre6 | lib/ffi.rb |