mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 17:01:35 +01:00
Add more error codes for check_wuffs_version
This commit is contained in:
1 parent
87ab36f8c4
commit
1211e16e3c
16 files changed
+492
-320
No files matched your search
@@ -192,7 +192,7 @@ func (g *gen) writeFuncImplHeader(b *buffer) error {
|
||||
b.writes("}")
|
||||
|
||||
b.printf("if (self->private_impl.magic != WUFFS_BASE__MAGIC) {"+
|
||||
"self->private_impl.status = %sERROR_INITIALIZER_NOT_CALLED; }", g.PKGPREFIX)
|
||||
"self->private_impl.status = %sERROR_CHECK_WUFFS_VERSION_NOT_CALLED; }", g.PKGPREFIX)
|
||||
|
||||
b.writes("if (self->private_impl.status < 0) {")
|
||||
if g.currFunk.suspendible {
|
||||
|
||||
Reference in new issue
Block a user