From: Jérémie Astor Date: Sat, 5 Dec 2020 16:14:57 +0000 (+0100) Subject: :art: More time ops X-Git-Tag: nightly~1126 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=4b55dfac182d24cee639301e0fc83e95dfdee224;p=gwion.git :art: More time ops --- diff --git a/src/lib/prim.c b/src/lib/prim.c index 947dc1bf..87c738fd 100644 --- a/src/lib/prim.c +++ b/src/lib/prim.c @@ -248,6 +248,8 @@ static GWION_IMPORT(time) { CHECK_FF("=>", rassign, r_assign) GWI_BB(gwi_oper_ini(gwi, "time", "dur", "time")) GWI_BB(gwi_oper_end(gwi, "+", FloatPlus)) + GWI_BB(gwi_oper_end(gwi, "*", FloatTimes)) + GWI_BB(gwi_oper_end(gwi, "/", FloatDivide)) GWI_BB(gwi_oper_ini(gwi, "time", "time", "dur")) GWI_BB(gwi_oper_end(gwi, "-", FloatMinus)) GWI_BB(gwi_oper_ini(gwi, "dur", "time", "time"))