mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 01:01:35 +01:00
Mark gif methods as !? not !??
This commit is contained in:
1 parent
4ff64de78e
commit
248436c231
4 files changed
+18
-21
No files matched your search
@@ -268,6 +268,8 @@ func (g *gen) writeResumeSuspend1(b *buffer, f *funk, n *a.Var, suspend bool, in
|
||||
zero := "0"
|
||||
if typ.QID() == (t.QID{t.IDBase, t.IDBool}) {
|
||||
zero = "false"
|
||||
} else if typ.QID() == (t.QID{t.IDBase, t.IDStatus}) {
|
||||
zero = "NULL"
|
||||
}
|
||||
b.printf("%s = %s;\n", local, zero)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user