Opaque ptr patch

master
Raul Leal 2017-08-31 21:49:37 +00:00 committed by Andrew Kelley
parent c42e809f13
commit e93ece7514
1 changed files with 1 additions and 1 deletions

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: