mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
exporting .h file supports void
This commit is contained in:
1 parent
a398afa7cc
commit
5144c4fa37
4 files changed
+15
-20
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user