From 5cbb7c4775b373537de7ca70a9557354afddb74e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Tue, 5 May 2020 23:20:05 +0200 Subject: [PATCH] :art: string equality function returns bool --- src/lib/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.43.0