mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
strings.builder: remove unused var; clipboard: linux fixes
This commit is contained in:
@ -11,8 +11,13 @@ import math
|
||||
|
||||
// X11
|
||||
struct C.Display{}
|
||||
struct C.Atom{}
|
||||
struct C.Window{}
|
||||
|
||||
[typedef]
|
||||
struct C.Atom
|
||||
|
||||
[typedef]
|
||||
struct C.Window
|
||||
|
||||
fn C.XInitThreads() int
|
||||
fn C.XCloseDisplay(d &Display)
|
||||
fn C.XFlush(d &Display)
|
||||
@ -46,6 +51,8 @@ struct C.XSelectionRequestEvent{
|
||||
property C.Atom
|
||||
time int
|
||||
}
|
||||
|
||||
[typedef]
|
||||
struct C.XSelectionEvent{
|
||||
mut:
|
||||
@type int
|
||||
@ -56,15 +63,20 @@ struct C.XSelectionEvent{
|
||||
property C.Atom
|
||||
time int
|
||||
}
|
||||
|
||||
[typedef]
|
||||
struct C.XSelectionClearEvent{
|
||||
mut:
|
||||
window C.Window
|
||||
selection C.Atom
|
||||
}
|
||||
|
||||
struct C.XDestroyWindowEvent {
|
||||
mut:
|
||||
window C.Window
|
||||
}
|
||||
|
||||
[typedef]
|
||||
struct C.XEvent{
|
||||
mut:
|
||||
@type int
|
||||
|
Reference in New Issue
Block a user