Sha256: d858aa628ac6455360b364a18b367d4c35318f7995bd06b9cc13e8f3727a9a8d
Contents?: true
Size: 526 Bytes
Versions: 1
Compression:
Stored size: 526 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')) $LOADED_FEATURES.delete(__FILE__) unless $LOADED_FEATURES.nil? require 'ffi.rb' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffi-1.2.0.pre5 | lib/ffi.rb |