mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vfmt: it can now be used for _platform.v files too, no matter the host os
This commit is contained in:

committed by
Alexander Medvednikov

parent
84fbd5b3d0
commit
6c16bac908
@ -423,3 +423,7 @@ fn new_display() &Display {
|
||||
return XOpenDisplay(C.NULL)
|
||||
}
|
||||
|
||||
// create a new PRIMARY clipboard (only supported on Linux)
|
||||
pub fn new_primary() &Clipboard {
|
||||
return new_x11_clipboard(.primary)
|
||||
}
|
||||
|
Reference in New Issue
Block a user