aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2015-11-27 22:13:39 -0700
committerAndrew Kelley <superjoe30@gmail.com>2015-11-27 22:13:39 -0700
commitf6529341a2413a3eb72920418d19ea7d2aca089b (patch)
treea861b3c8e2397029c8a6d3039e98c4caa4af6f3b /src/zig_llvm.hpp
parent03f992273493ef1e635a7a3bb3de9c5cd5182789 (diff)
downloadzig-f6529341a2413a3eb72920418d19ea7d2aca089b.tar.gz
zig-f6529341a2413a3eb72920418d19ea7d2aca089b.zip
ability to export .o file
Diffstat (limited to 'src/zig_llvm.hpp')
-rw-r--r--src/zig_llvm.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zig_llvm.hpp b/src/zig_llvm.hpp
index fda8e371ec..be1bf64d9a 100644
--- a/src/zig_llvm.hpp
+++ b/src/zig_llvm.hpp
@@ -22,7 +22,7 @@ char *LLVMZigGetHostCPUName(void);
char *LLVMZigGetNativeFeatures(void);
LLVMBool LLVMZigTargetMachineEmitToFile(LLVMTargetMachineRef target_machine, LLVMModuleRef module,
- char* filename, LLVMCodeGenFileType codegen, char** error_msg);
+ const char* filename, LLVMCodeGenFileType codegen, char** error_msg);
void LLVMZigOptimizeModule(LLVMTargetMachineRef targ_machine_ref, LLVMModuleRef module_ref);