From 27f91faae5ffdebc7cc1abce958c8e18d470d80a Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Mon, 21 Sep 2020 02:51:14 +0200 Subject: [PATCH] gg: remove an old compielr hack that's no longer needed --- vlib/gg/gg.v | 8 -------- 1 file changed, 8 deletions(-) diff --git a/vlib/gg/gg.v b/vlib/gg/gg.v index ba2caac8de..0a092400b0 100644 --- a/vlib/gg/gg.v +++ b/vlib/gg/gg.v @@ -139,14 +139,6 @@ fn gg_frame_fn(user_data voidptr) { } } -// TODO: remove this hacky workaround... -// NB: todo_remove_this is needed to workaround a v bug, -// where it thinks that &sapp.Event(x) is a function call, -// instead of a cast, if v has not yet seen &sapp.Event used -// as a parameter type. -//fn todo_remove_this(e &sapp.Event) { -//} - fn gg_event_fn(ce &C.sapp_event, user_data voidptr) { e := &sapp.Event(ce) mut g := &Context(user_data)