From: Jérémie Astor Date: Tue, 5 May 2020 21:20:05 +0000 (+0200) Subject: :art: string equality function returns bool X-Git-Tag: nightly~1668 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=5cbb7c4775b373537de7ca70a9557354afddb74e;p=gwion.git :art: string equality function returns bool --- diff --git a/src/lib/string.c b/src/lib/string.c index 2de81dac..b26017d0 100644 --- a/src/lib/string.c +++ b/src/lib/string.c @@ -98,7 +98,7 @@ GWION_IMPORT(string) { GWI_BB(gwi_oper_add(gwi, opck_const_rhs)) GWI_BB(gwi_oper_end(gwi, "=>", String_Assign)) - GWI_BB(gwi_oper_ini(gwi, "string", "string", "int")) + GWI_BB(gwi_oper_ini(gwi, "string", "string", "bool")) GWI_BB(gwi_oper_end(gwi, "==", String_eq)) GWI_BB(gwi_oper_end(gwi, "!=", String_neq))