From: Jérémie Astor Date: Sun, 14 Nov 2021 18:40:25 +0000 (+0100) Subject: :art: Few fixes X-Git-Tag: nightly~411 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=581360f7f496026bc16e56d757c3e5b14bd7f5a7;p=gwion.git :art: Few fixes --- 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));