Module: RLTK::CG::Support

Defined in:
lib/rltk/cg/support.rb

Overview

Support functionality for LLVM code generation.

Class Method Summary collapse

Class Method Details

.load_library(lib) ⇒ Object

Load a shared library into memory and make its exported symbols available to execution engines.

Parameters:

  • lib (String)

    Path to the shared library to load.



27
28
29
# File 'lib/rltk/cg/support.rb', line 27

def self.load_library(lib)
	Bindings.load_library_permanently(lib).to_bool
end