mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix *Type warning in examples
This commit is contained in:
parent
c6f7479a72
commit
2ae2ede06a
@ -10,14 +10,14 @@ import time
|
|||||||
|
|
||||||
struct Game {
|
struct Game {
|
||||||
mut:
|
mut:
|
||||||
gg *gg.GG
|
gg &gg.GG
|
||||||
x int
|
x int
|
||||||
y int
|
y int
|
||||||
dy int
|
dy int
|
||||||
dx int
|
dx int
|
||||||
height int
|
height int
|
||||||
width int
|
width int
|
||||||
main_wnd *glfw.Window
|
main_wnd &glfw.Window
|
||||||
draw_fn voidptr
|
draw_fn voidptr
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
struct Context {
|
struct Context {
|
||||||
gg *gg.GG
|
gg &gg.GG
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user