From: Elias Fleckenstein Date: Sat, 28 May 2022 13:42:25 +0000 (+0200) Subject: Add go:generate directive X-Git-Tag: v0.1.0~17 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=7e9fed141b4dbe35183c9b4de3ea4a16da0af469;p=hydra-dragonfire.git Add go:generate directive --- diff --git a/types.go b/types.go index 6410457..0fe1cad 100644 --- a/types.go +++ b/types.go @@ -6,6 +6,8 @@ import ( "image/color" ) +//go:generate ./mkconvert.lua + func luaPushVec2(l *lua.State, val [2]float64) { l.Global("vec2") l.PushNumber(val[0])