From 581360f7f496026bc16e56d757c3e5b14bd7f5a7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 14 Nov 2021 19:40:25 +0100 Subject: [PATCH] :art: Few fixes --- libcmdapp | 2 +- src/gwion.c | 1 + src/lib/dict.c | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/libcmdapp b/libcmdapp index 84f5a692..4c97e4ed 160000 --- a/libcmdapp +++ b/libcmdapp @@ -1 +1 @@ -Subproject commit 84f5a69293c50e66f9edb584a71e6526c8b66646 +Subproject commit 4c97e4ed96a958d75c2657f8744c7e86e8a66a30 diff --git a/src/gwion.c b/src/gwion.c index bd9f4f13..5f5d9baf 100644 --- a/src/gwion.c +++ b/src/gwion.c @@ -82,6 +82,7 @@ ANN static void doc_mode(const Gwion gwion) { vector_init(&v); vector_add(&v, (m_uint) "scan0"); pass_set(gwion, &v); + vector_release(&v); } ANN m_bool gwion_ini(const Gwion gwion, Arg *arg) { diff --git a/src/lib/dict.c b/src/lib/dict.c index 7f2c762f..37362f16 100644 --- a/src/lib/dict.c +++ b/src/lib/dict.c @@ -753,6 +753,14 @@ GWION_IMPORT(dict) { GWI_BB(gwi_func_arg(gwi, "float", "key")); GWI_BB(gwi_func_end(gwi, mfun_float_h, ae_flag_none)); + GWI_BB(gwi_func_ini(gwi, "int", "hash")); + GWI_BB(gwi_func_arg(gwi, "time", "key")); + GWI_BB(gwi_func_end(gwi, mfun_float_h, ae_flag_none)); + + GWI_BB(gwi_func_ini(gwi, "int", "hash")); + GWI_BB(gwi_func_arg(gwi, "dur", "key")); + GWI_BB(gwi_func_end(gwi, mfun_float_h, ae_flag_none)); + GWI_BB(gwi_func_ini(gwi, "int", "hash")); GWI_BB(gwi_func_arg(gwi, "string", "key")); GWI_BB(gwi_func_end(gwi, mfun_string_h, ae_flag_none)); -- 2.43.0