Add a wuffs_base__vtable type

This commit is contained in:
Nigel Tao committed 2020-01-06 12:02:41 +11:00
1 parent 9e802a5f84
commit 5bf070b187
4 files changed
+19 -1

No files matched your search

+1
View File
@@ -762,6 +762,7 @@ func (g *gen) writeStructPrivateImpl(b *buffer, n *a.Struct) error {
if n.Classy() {
b.writes("uint32_t magic;\n")
b.writes("uint32_t active_coroutine;\n")
b.writes("wuffs_base__vtable null_vtable;\n")
b.writes("\n")
}