Opaque ptr patch

This commit is contained in:
Raul Leal authored and Andrew Kelley committed 2017-08-31 18:01:09 -04:00
1 parent c42e809f13
commit e93ece7514
1 file changed
+1 -1
+1 -1
View File
@@ -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: