From: Jérémie Astor Date: Mon, 4 May 2020 22:53:36 +0000 (+0200) Subject: :art: nonnull for slice X-Git-Tag: nightly~1680 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=e05d31d44493fafbe4eb9d742786880bf6d203c4;p=gwion.git :art: nonnull for slice --- diff --git a/src/lib/string.c b/src/lib/string.c index a6cc6062..2de81dac 100644 --- a/src/lib/string.c +++ b/src/lib/string.c @@ -102,7 +102,7 @@ GWION_IMPORT(string) { GWI_BB(gwi_oper_end(gwi, "==", String_eq)) GWI_BB(gwi_oper_end(gwi, "!=", String_neq)) - GWI_BB(gwi_oper_ini(gwi, "string", "int", "string")) + GWI_BB(gwi_oper_ini(gwi, "nonnull string", "int", "string")) GWI_BB(gwi_oper_end(gwi, "@slice", StringSlice)) struct SpecialId_ spid = { .ck=check_funcpp, .exec=RegPushMe, .is_const=1 };