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

View File

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