Class: LLVM::FunctionType

Inherits:
Type
  • Object
show all
Defined in:
lib/llvm/core/type.rb

Instance Method Summary collapse

Methods inherited from Type

#==, #align, array, #element_type, #eql?, from_ptr, function, #kind, #null, #null_pointer, opaque, #pointer, pointer, rec, #refine, #size, struct, #to_ptr, vector, void

Instance Method Details

#return_typeObject



129
130
131
# File 'lib/llvm/core/type.rb', line 129

def return_type
  LLVM::Type.from_ptr(C.LLVMGetReturnType(self))
end