]> Nishi Git Mirror - gwion.git/commitdiff
:art: nonnull for slice
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 4 May 2020 22:53:36 +0000 (00:53 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 4 May 2020 22:53:36 +0000 (00:53 +0200)
src/lib/string.c

index a6cc60625582d2de8438899f38bfb610ee9399b7..2de81daccaae8b95561fcd6b4b8b5409f0dde132 100644 (file)
@@ -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 };