mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cli: fix compilation
This commit is contained in:
parent
e76f74fd73
commit
ca30397e7a
@ -91,7 +91,7 @@ mut:
|
||||
struct WebhookServer {
|
||||
vweb.Context
|
||||
mut:
|
||||
gen_vc &GenVC = 0 // initialized in init_server
|
||||
gen_vc &GenVC = unsafe { 0 } // initialized in init_server
|
||||
}
|
||||
|
||||
// storage for flag options
|
||||
|
@ -7,7 +7,7 @@ import time
|
||||
|
||||
struct App {
|
||||
mut:
|
||||
gg &gg.Context = 0
|
||||
gg &gg.Context = unsafe { 0 }
|
||||
touch TouchInfo
|
||||
ui Ui
|
||||
theme &Theme = themes[0]
|
||||
@ -18,7 +18,7 @@ mut:
|
||||
state GameState = .play
|
||||
tile_format TileFormat = .normal
|
||||
moves int
|
||||
perf &Perf = 0
|
||||
perf &Perf = unsafe { 0 }
|
||||
is_ai_mode bool
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@ pub mut:
|
||||
disable_flags bool
|
||||
sort_flags bool
|
||||
sort_commands bool
|
||||
parent &Command = 0
|
||||
parent &Command = unsafe { 0 }
|
||||
commands []Command
|
||||
flags []Flag
|
||||
required_args int
|
||||
|
Loading…
Reference in New Issue
Block a user