Sha256: 72d4abace3a18869979587fba7325a92564a101401cdb81edc277cf41c8d5375
Contents?: true
Size: 487 Bytes
Versions: 22
Compression:
Stored size: 487 Bytes
Contents
module FFI::Compiler class Platform LIBSUFFIX = FFI::Platform.mac? ? 'bundle' : FFI::Platform::LIBSUFFIX def self.system @@system ||= Platform.new end def map_library_name(name) "#{FFI::Platform::LIBPREFIX}#{name}.#{LIBSUFFIX}" end def arch FFI::Platform::ARCH end def os FFI::Platform::OS end def name FFI::Platform.name end def mac? FFI::Platform.mac? end end end
Version data entries
22 entries across 22 versions & 5 rubygems