authorgravatar for raulgrell@gmail.comRaul Leal <raulgrell@gmail.com> 2017-08-31 21:49:37+00:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-08-31 18:01:09-04:00
loge93ece7514dc9199523f71efe0ac480ef143985e
treeb213ec5714b8b916e5ab806921f4a66ad0b0d6c9
parentc42e809f132d91fca1f96da2ecff7d78e1085c3f

Opaque ptr patch


1 files changed, 1 insertions(+), 1 deletions(-)

src/codegen.cpp+1-1
...@@ -5293,12 +5293,12 @@ static void get_c_type(CodeGen *g, TypeTableEntry *type_entry, Buf *out_buf) {...@@ -5293,12 +5293,12 @@ static void get_c_type(CodeGen *g, TypeTableEntry *type_entry, Buf *out_buf) {
5293 }5293 }
5294 }5294 }
5295 case TypeTableEntryIdStruct:5295 case TypeTableEntryIdStruct:
5296 case TypeTableEntryIdOpaque:
5296 {5297 {
5297 // TODO add to table of structs we need to declare5298 // TODO add to table of structs we need to declare
5298 buf_init_from_buf(out_buf, &type_entry->name);5299 buf_init_from_buf(out_buf, &type_entry->name);
5299 return;5300 return;
5300 }5301 }
5301 case TypeTableEntryIdOpaque:
5302 case TypeTableEntryIdArray:5302 case TypeTableEntryIdArray:
5303 case TypeTableEntryIdErrorUnion:5303 case TypeTableEntryIdErrorUnion:
5304 case TypeTableEntryIdPureError:5304 case TypeTableEntryIdPureError: