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:
@@ -33,7 +33,7 @@ mut:
|
||||
union C.uChar {
|
||||
mut:
|
||||
UnicodeChar rune
|
||||
AsciiChar byte
|
||||
AsciiChar u8
|
||||
}
|
||||
|
||||
[typedef]
|
||||
|
@@ -17,7 +17,7 @@ struct C.INPUT_RECORD {
|
||||
union C.uChar {
|
||||
mut:
|
||||
UnicodeChar rune
|
||||
AsciiChar byte
|
||||
AsciiChar u8
|
||||
}
|
||||
|
||||
[typedef]
|
||||
|
@@ -160,7 +160,7 @@ pub:
|
||||
// Keyboard event info
|
||||
code KeyCode
|
||||
modifiers Modifiers
|
||||
ascii byte
|
||||
ascii u8
|
||||
utf8 string
|
||||
// Resized event info
|
||||
width int
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user