diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-07-25 19:06:48 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-07-25 19:06:48 -0700 |
| commit | c3d10dbda1fc133b7ca112787bbf0100b735ca36 (patch) | |
| tree | 9367d79b77d8910c1c538b84812c508e210ce88a /src/codegen/llvm | |
| parent | 5b4885fe89939679ec2aa78f6bf16fe42faa781a (diff) | |
| download | zig-c3d10dbda1fc133b7ca112787bbf0100b735ca36.tar.gz zig-c3d10dbda1fc133b7ca112787bbf0100b735ca36.zip | |
stage2 llvm backend: implement llvmType for error union and slices
Diffstat (limited to 'src/codegen/llvm')
| -rw-r--r-- | src/codegen/llvm/bindings.zig | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/codegen/llvm/bindings.zig b/src/codegen/llvm/bindings.zig index 59c5b3dfe3..3d17172cfd 100644 --- a/src/codegen/llvm/bindings.zig +++ b/src/codegen/llvm/bindings.zig @@ -35,7 +35,12 @@ pub const Context = opaque { extern fn LLVMVoidTypeInContext(C: *const Context) *const Type; pub const structType = LLVMStructTypeInContext; - extern fn LLVMStructTypeInContext(C: *const Context, ElementTypes: [*]*const Type, ElementCount: c_uint, Packed: Bool) *const Type; + extern fn LLVMStructTypeInContext( + C: *const Context, + ElementTypes: [*]const *const Type, + ElementCount: c_uint, + Packed: Bool, + ) *const Type; pub const constString = LLVMConstStringInContext; extern fn LLVMConstStringInContext(C: *const Context, Str: [*]const u8, Length: c_uint, DontNullTerminate: Bool) *const Value; |
