mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
Opaque ptr patch
This commit is contained in:
1 parent
c42e809f13
commit
e93ece7514
1 file changed
+1
-1
+1
-1
@@ -5293,12 +5293,12 @@ static void get_c_type(CodeGen *g, TypeTableEntry *type_entry, Buf *out_buf) {
|
||||
}
|
||||
}
|
||||
case TypeTableEntryIdStruct:
|
||||
case TypeTableEntryIdOpaque:
|
||||
{
|
||||
// TODO add to table of structs we need to declare
|
||||
buf_init_from_buf(out_buf, &type_entry->name);
|
||||
return;
|
||||
}
|
||||
case TypeTableEntryIdOpaque:
|
||||
case TypeTableEntryIdArray:
|
||||
case TypeTableEntryIdErrorUnion:
|
||||
case TypeTableEntryIdPureError:
|
||||
|
||||
Reference in new issue
Block a user