mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
Add wuffs_base__make_status
This commit is contained in:
1 parent
7d4a3a127d
commit
fb54ba452f
11 files changed
+530
-383
No files matched your search
@@ -287,7 +287,7 @@ func (g *gen) writeVars(b *buffer, f *funk, inStructDecl bool) error {
|
||||
} else if typ.IsBool() {
|
||||
b.writes(" = false;\n")
|
||||
} else if typ.IsStatus() {
|
||||
b.writes(" = NULL;\n")
|
||||
b.writes(" = wuffs_base__make_status(NULL);\n")
|
||||
} else if typ.IsIOType() {
|
||||
b.printf(" = &%s%s;\n", uPrefix, name)
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user