exporting .h file supports void

This commit is contained in:
Andrew Kelley
2015-12-03 17:30:44 -07:00
parent a398afa7cc
commit 5144c4fa37
4 changed files with 15 additions and 20 deletions

View File

@@ -290,11 +290,6 @@ static enum CXChildVisitResult fn_visitor(CXCursor cursor, CXCursor parent, CXCl
buf_init_from_str(&p->cur_fn->name, clang_getCString(name));
if (buf_eql_str(&p->cur_fn->name, "exit")) {
print_location(p);
zig_panic("Found it");
}
p->cur_fn->arg_count = clang_getNumArgTypes(fn_type);
p->cur_fn->args = allocate<Arg>(p->cur_fn->arg_count);