Method: LLVM::Type.array

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

.array(ty, sz = 0) ⇒ Object

Creates an array type of Type with the given size.



69
70
71
# File 'lib/llvm/core/type.rb', line 69

def self.array(ty, sz = 0)
  from_ptr(C.LLVMArrayType(LLVM::Type(ty), sz))
end