From e93ece7514dc9199523f71efe0ac480ef143985e Mon Sep 17 00:00:00 2001 From: Raul Leal Date: Thu, 31 Aug 2017 21:49:37 +0000 Subject: [PATCH] Opaque ptr patch --- src/codegen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codegen.cpp b/src/codegen.cpp index ef8169b789..a53174ab89 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -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: