mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
clean up some resources
This commit is contained in:
1 parent
e3ad13e054
commit
562f91e875
5 files changed
+10
-1
No files matched your search
@@ -152,6 +152,10 @@ CodeGen *codegen_create(Buf *root_src_path, const ZigTarget *target, OutType out
|
||||
return g;
|
||||
}
|
||||
|
||||
void codegen_destroy(CodeGen *codegen) {
|
||||
LLVMDisposeTargetMachine(codegen->target_machine);
|
||||
}
|
||||
|
||||
void codegen_set_output_h_path(CodeGen *g, Buf *h_path) {
|
||||
g->out_h_path = h_path;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user