mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 00:52:18 +01:00
Change the warning message prefix from "~" to "@"
This commit is contained in:
1 parent
fbd1ae8391
commit
f8d02cfb16
3 files changed
+3
-3
No files matched your search
@@ -21,7 +21,7 @@ import (
|
|||||||
|
|
||||||
var Statuses = [...]string{
|
var Statuses = [...]string{
|
||||||
// Warnings.
|
// Warnings.
|
||||||
`"~end of data"`,
|
`"@end of data"`,
|
||||||
|
|
||||||
// Suspensions.
|
// Suspensions.
|
||||||
`"$short read"`,
|
`"$short read"`,
|
||||||
|
|||||||
@@ -4785,7 +4785,7 @@ const uint64_t wuffs_base__low_bits_mask__u64[65] = {
|
|||||||
0x7FFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF,
|
0x7FFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF,
|
||||||
};
|
};
|
||||||
|
|
||||||
const char* wuffs_base__warning__end_of_data = "~base: end of data";
|
const char* wuffs_base__warning__end_of_data = "@base: end of data";
|
||||||
const char* wuffs_base__suspension__short_read = "$base: short read";
|
const char* wuffs_base__suspension__short_read = "$base: short read";
|
||||||
const char* wuffs_base__suspension__short_write = "$base: short write";
|
const char* wuffs_base__suspension__short_write = "$base: short write";
|
||||||
const char* wuffs_base__error__bad_argument_length_too_short =
|
const char* wuffs_base__error__bad_argument_length_too_short =
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ pub func decoder.decode_frame_config?(dst nptr base.frame_config, src base.io_re
|
|||||||
// This is a new "if", not an "else", because the calls above can modify
|
// This is a new "if", not an "else", because the calls above can modify
|
||||||
// this.end_of_data.
|
// this.end_of_data.
|
||||||
if this.end_of_data {
|
if this.end_of_data {
|
||||||
return base."~end of data"
|
return base."@end of data"
|
||||||
}
|
}
|
||||||
|
|
||||||
blend = 0
|
blend = 0
|
||||||
|
|||||||
Reference in new issue
Block a user