Sha256: 4ef925710c7e52a95911d73afdd2ab4c4960f17c53e51cc92bb102797cdec534
Contents?: true
Size: 1.38 KB
Versions: 3
Compression:
Stored size: 1.38 KB
Contents
# frozen_string_literal: true # Released under the MIT License. # Copyright, 2010-2011, by Jari Bakken. # Copyright, 2012, by Hal Brodigan. # Copyright, 2013-2022, by Samuel Williams. # Copyright, 2013, by Garry Marshall. # Copyright, 2013, by Carlos MartÃn Nieto. # Copyright, 2014, by Masahiro Sano. require 'ffi' require 'rbconfig' module FFI::Clang class Error < StandardError end def self.platform os = RbConfig::CONFIG["host_os"] case os when /darwin/ :darwin when /linux/ :linux when /mswin|msys|mingw|cygwin|bccwin|wince|emc/ :windows else os end end end # Load the shared object: require_relative 'clang/lib' # Wrappers around C functionality: require_relative 'clang/clang_version' require_relative 'clang/index' require_relative 'clang/translation_unit' require_relative 'clang/diagnostic' require_relative 'clang/cursor' require_relative 'clang/source_location' require_relative 'clang/source_range' require_relative 'clang/unsaved_file' require_relative 'clang/token' require_relative 'clang/code_completion' require_relative 'clang/compilation_database' require_relative 'clang/types/type' require_relative 'clang/types/array' require_relative 'clang/types/elaborated' require_relative 'clang/types/function' require_relative 'clang/types/pointer' require_relative 'clang/types/record' require_relative 'clang/types/type_def' require_relative 'clang/types/vector'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ffi-clang-0.12.0 | lib/ffi/clang.rb |
ffi-clang-0.11.0 | lib/ffi/clang.rb |
ffi-clang-0.10.0 | lib/ffi/clang.rb |