aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-03-17 17:24:11 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-17 17:24:11 -0700
commit76e103057ea6037d3bb3e44cd33880a9a91609fb (patch)
treeb66143e393caacf522df37d90e05afb05812f69a
parent9ed3eb9cded4fce2a2ca121ac079af65032347f6 (diff)
downloadzig-76e103057ea6037d3bb3e44cd33880a9a91609fb.tar.gz
zig-76e103057ea6037d3bb3e44cd33880a9a91609fb.zip
zig_llvm.h: fix some declarations not being C compatible
-rw-r--r--src/zig_llvm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zig_llvm.h b/src/zig_llvm.h
index 761fca86be..63d184c417 100644
--- a/src/zig_llvm.h
+++ b/src/zig_llvm.h
@@ -233,7 +233,7 @@ ZIG_EXTERN_C void ZigLLVMSetModuleCodeModel(LLVMModuleRef module, LLVMCodeModel
ZIG_EXTERN_C void ZigLLVMSetCurrentDebugLocation(LLVMBuilderRef builder,
unsigned int line, unsigned int column, struct ZigLLVMDIScope *scope);
ZIG_EXTERN_C void ZigLLVMSetCurrentDebugLocation2(LLVMBuilderRef builder, unsigned int line,
- unsigned int column, ZigLLVMDIScope *scope, ZigLLVMDILocation *inlined_at);
+ unsigned int column, struct ZigLLVMDIScope *scope, struct ZigLLVMDILocation *inlined_at);
ZIG_EXTERN_C void ZigLLVMClearCurrentDebugLocation(LLVMBuilderRef builder);
ZIG_EXTERN_C struct ZigLLVMDIScope *ZigLLVMLexicalBlockToScope(struct ZigLLVMDILexicalBlock *lexical_block);
@@ -293,7 +293,7 @@ ZIG_EXTERN_C void ZigLLVMDIBuilderFinalize(struct ZigLLVMDIBuilder *dibuilder);
ZIG_EXTERN_C struct ZigLLVMDILocation *ZigLLVMGetDebugLoc(unsigned line, unsigned col,
struct ZigLLVMDIScope *scope);
ZIG_EXTERN_C struct ZigLLVMDILocation *ZigLLVMGetDebugLoc2(unsigned line, unsigned col,
- ZigLLVMDIScope *scope, ZigLLVMDILocation *inlined_at);
+ struct ZigLLVMDIScope *scope, struct ZigLLVMDILocation *inlined_at);
ZIG_EXTERN_C LLVMValueRef ZigLLVMInsertDeclareAtEnd(struct ZigLLVMDIBuilder *dib,
LLVMValueRef storage, struct ZigLLVMDILocalVariable *var_info,