mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vfmt: line comments fixes
This commit is contained in:
@ -42,4 +42,4 @@ pub fn new_primary() &Clipboard {
|
||||
} $else {
|
||||
panic("Primary clipboard is not supported on non-Linux systems.")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -63,4 +63,4 @@ fn (cb &Clipboard) get_text() string {
|
||||
|
||||
#utf8_clip = [ns_clip UTF8String];
|
||||
return string(utf8_clip)
|
||||
}
|
||||
}
|
||||
|
@ -20,4 +20,4 @@ fn test_primary(){
|
||||
|
||||
fn test_clipboard(){
|
||||
run_test(false)
|
||||
}
|
||||
}
|
||||
|
@ -144,4 +144,4 @@ fn (cb &Clipboard) get_text() string {
|
||||
str := string_from_wide(&u16(GlobalLock(h_data)))
|
||||
GlobalUnlock(h_data)
|
||||
return str
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user