mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Add wuffs_base__status__message
This commit is contained in:
1 parent
d1864b0faf
commit
355a95eeea
8 files changed
+40
-14
No files matched your search
@@ -58,9 +58,9 @@ uint8_t src_buffer[SRC_BUFFER_SIZE];
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
wuffs_crc32__ieee_hasher h;
|
||||
const char* status = h.initialize(sizeof h, WUFFS_VERSION, 0);
|
||||
wuffs_base__status status = h.initialize(sizeof h, WUFFS_VERSION, 0);
|
||||
if (status) {
|
||||
fprintf(stderr, "%s\n", status);
|
||||
fprintf(stderr, "%s\n", wuffs_base__status__message(status));
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user