fix *Type warning in examples

pull/1866/head
Joe Conigliaro 2019-09-04 22:10:18 +10:00 committed by Alexander Medvednikov
parent c6f7479a72
commit 2ae2ede06a
2 changed files with 3 additions and 3 deletions

View File

@ -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
}

View File

@ -13,7 +13,7 @@ const (
)
struct Context {
gg *gg.GG
gg &gg.GG
}
fn main() {