]> Nishi Git Mirror - gwion.git/commitdiff
:art: string equality function returns bool
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Tue, 5 May 2020 21:20:05 +0000 (23:20 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Tue, 5 May 2020 21:20:05 +0000 (23:20 +0200)
src/lib/string.c

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