Method: LLVM::Module::FunctionCollection#named

Defined in:
lib/llvm/core/module.rb

#named(name) ⇒ Object

Returns the Function with the given name (symbol or string).



175
176
177
# File 'lib/llvm/core/module.rb', line 175

def named(name)
  Function.from_ptr(C.get_named_function(@module, name.to_s))
end