mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 16:47:28 +01:00
Delegate etc__status__string to used packages
This commit is contained in:
1 parent
fecd7b631c
commit
7e47f4cc7a
3 files changed
+44
-12
No files matched your search
@@ -788,6 +788,8 @@ const char* wuffs_zlib__status__string(wuffs_zlib__status s) {
|
||||
a = wuffs_zlib__status__strings1;
|
||||
n = 5;
|
||||
break;
|
||||
case wuffs_deflate__packageid:
|
||||
return wuffs_deflate__status__string(s);
|
||||
}
|
||||
uint32_t i = s & 0xFF;
|
||||
return i < n ? a[i] : "zlib: unknown status";
|
||||
|
||||
Reference in new issue
Block a user