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

all: ~500 more byte=>u8

This commit is contained in:
Alexander Medvednikov
2022-04-15 18:25:45 +03:00
parent ae6a25f44e
commit fbb9e65c0f
148 changed files with 544 additions and 494 deletions

View File

@@ -33,7 +33,7 @@ mut:
union C.uChar {
mut:
UnicodeChar rune
AsciiChar byte
AsciiChar u8
}
[typedef]

View File

@@ -17,7 +17,7 @@ struct C.INPUT_RECORD {
union C.uChar {
mut:
UnicodeChar rune
AsciiChar byte
AsciiChar u8
}
[typedef]

View File

@@ -160,7 +160,7 @@ pub:
// Keyboard event info
code KeyCode
modifiers Modifiers
ascii byte
ascii u8
utf8 string
// Resized event info
width int

View File

@@ -7,9 +7,9 @@ import strings
pub struct Color {
pub:
r byte
g byte
b byte
r u8
g u8
b u8
}
pub fn (c Color) hex() string {