diff options
| author | Raul Leal <raulgrell@gmail.com> | 2017-08-31 21:49:37 +0000 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-08-31 18:01:09 -0400 |
| commit | e93ece7514dc9199523f71efe0ac480ef143985e (patch) | |
| tree | b213ec5714b8b916e5ab806921f4a66ad0b0d6c9 /src/codegen.cpp | |
| parent | c42e809f132d91fca1f96da2ecff7d78e1085c3f (diff) | |
| download | zig-e93ece7514dc9199523f71efe0ac480ef143985e.tar.gz zig-e93ece7514dc9199523f71efe0ac480ef143985e.zip | |
Opaque ptr patch
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
