1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix v build-examples

This commit is contained in:
Delyan Angelov
2022-04-15 20:31:10 +03:00
parent e18cb9748f
commit 6f5a513d8b
8 changed files with 16 additions and 17 deletions

View File

@@ -12,6 +12,6 @@ pub fn utf8_str_len(s string) int {
return s.len
}
pub fn utf8_char_len(b byte) int {
pub fn utf8_char_len(b u8) int {
return ((0xe5000000 >> ((b >> 3) & 0x1e)) & 3) + 1
}