exporting an object creates an h file

This commit is contained in:
Andrew Kelley
2016-09-21 11:18:49 -04:00
parent b97bfc3ecb
commit 3f8f0b9bba
3 changed files with 8 additions and 4 deletions

View File

@@ -63,6 +63,7 @@ CodeGen *codegen_create(Buf *root_source_dir, const ZigTarget *target) {
g->generic_table.init(16);
g->is_release_build = false;
g->is_test_build = false;
g->want_h_file = true;
// the error.Ok value
g->error_decls.append(nullptr);