mirror of
https://github.com/matrix-construct/construct
synced 2024-09-27 11:18:51 +02:00
ircd::utf: Fix syntax; comments. [ci skip]
This commit is contained in:
parent
eeadc15319
commit
8c65e75046
1 changed files with 2 additions and 2 deletions
|
@ -463,14 +463,14 @@ noexcept
|
|||
const u32xN enc_2
|
||||
{
|
||||
(((codepoint >> 6) | 0xc0) & 0xff) // byte[0]
|
||||
| ((((codepoint & 0x3f) | 0x80) &0xff) << 8) // byte[1]
|
||||
| ((((codepoint & 0x3f) | 0x80) & 0xff) << 8) // byte[1]
|
||||
};
|
||||
|
||||
const u32xN enc_3
|
||||
{
|
||||
(((codepoint >> 12) | 0xe0) & 0xff) | // byte[0]
|
||||
(((((codepoint >> 6) & 0x3f) | 0x80) & 0xff) << 8) | // byte[1]
|
||||
((((codepoint & 0x3f) | 0x80) & 0xff) << 16) // byte[3]
|
||||
((((codepoint & 0x3f) | 0x80) & 0xff) << 16) // byte[2]
|
||||
};
|
||||
|
||||
const u32xN enc_4
|
||||
|
|
Loading…
Reference in a new issue