mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
examples: fix unsafe 0
This commit is contained in:
@@ -19,11 +19,11 @@ const (
|
||||
[heap]
|
||||
struct App {
|
||||
mut:
|
||||
tui &ui.Context = 0
|
||||
tui &ui.Context = unsafe { 0 }
|
||||
mode Mode = Mode.menu
|
||||
width int
|
||||
height int
|
||||
game &Game = 0
|
||||
game &Game = unsafe { 0 }
|
||||
dt f32
|
||||
ticks i64
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user