Method: LLVM::Builder#array_malloc
- Defined in:
- lib/llvm/core/builder.rb
#array_malloc(ty, sz, name = "") ⇒ LLVM::Instruction
Returns A pointer to the malloced array.
497 498 499 |
# File 'lib/llvm/core/builder.rb', line 497 def array_malloc(ty, sz, name = "") Instruction.from_ptr(C.build_array_malloc(self, LLVM::Type(ty), sz, name)) end |