Module: Inliner
- Defined in:
- lib/ffi-inliner/inliner.rb,
lib/ffi-inliner/version.rb
Defined Under Namespace
Modules: Compilers Classes: Builder, FilenameManager
Constant Summary collapse
- DEV_NULL =
if Config::CONFIG['target_os'] =~ /mswin|mingw/ 'nul' else '/dev/null' end
- LIB_EXT =
if Config::CONFIG['target_os'] =~ /darwin/ '.dylib' elsif Config::CONFIG['target_os'] =~ /mswin|mingw/ '.dll' else '.so' end
- C_TO_FFI =
{ 'void' => :void, 'char' => :char, 'unsigned char' => :uchar, 'int' => :int, 'unsigned int' => :uint, 'long' => :long, 'unsigned long' => :ulong, 'float' => :float, 'double' => :double, }
- VERSION =
'0.2.4'
- @@__inliner_directory =
File.(File.join('~/', '.ffi-inliner'))
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.directory ⇒ Object
32 33 34 |
# File 'lib/ffi-inliner/inliner.rb', line 32 def directory @@__inliner_directory end |