class Crystal::LLVMTyper
inherits Reference
¶
Class methods¶
Methods¶
#copy_type(type : LLVM::Type)
¶
(type : LLVM::Type)
Copy an existing LLVM type, possibly from another context, into this typer's context.
#copy_types(types : Array(LLVM::Type))
¶
(types : Array(LLVM::Type))
Copy existing LLVM types, possibly from another context, into this typer's context.
#llvm_c_return_type(type : StaticArrayInstanceType)
¶
(type : StaticArrayInstanceType)
StaticArray can only be "returned" in lib externs, not in C functions, and there it must not be a pointer.