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 {
|
||||
mut:
|
||||
gg *gg.GG
|
||||
gg &gg.GG
|
||||
x int
|
||||
y int
|
||||
dy int
|
||||
dx int
|
||||
height int
|
||||
width int
|
||||
main_wnd *glfw.Window
|
||||
main_wnd &glfw.Window
|
||||
draw_fn voidptr
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@ const (
|
||||
)
|
||||
|
||||
struct Context {
|
||||
gg *gg.GG
|
||||
gg &gg.GG
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
Loading…
Reference in New Issue
Block a user