inkwell
inkwell copied to clipboard
Provide a `Context` method to construct `ArrayType` and `FunctionType`
inkwell::context::Context
has methods to construct most other types, except vector, array and function types. Providing methods for these would be useful. Currently I see no other way of constructing an ArrayType
, except match over every possible type for the element type, and call array_type
on that. That's quite tedious.