]> Nishi Git Mirror - gwion.git/commitdiff
:art: Set class operators to bool
authorJérémie Astor <fennecdjay@gmail.com>
Sun, 5 Sep 2021 20:47:30 +0000 (22:47 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Sun, 5 Sep 2021 20:47:30 +0000 (22:47 +0200)
src/lib/engine.c

index 9acbaba6a3256bedc80a8d6f11b19933d04e25e4..3ae7db518e4c571928acaa473e4314922fbe9469 100644 (file)
@@ -194,7 +194,7 @@ ANN static m_bool import_core_libs(const Gwi gwi) {
   GWI_BB(import_ref(gwi))
 
   gwidoc(gwi, "Operators class types.");
-  GWI_BB(gwi_oper_ini(gwi, "Class", "Class", "int"))
+  GWI_BB(gwi_oper_ini(gwi, "Class", "Class", "bool"))
   GWI_BB(gwi_oper_end(gwi, "==", int_eq))
   GWI_BB(gwi_oper_end(gwi, "!=", int_neq))
   GWI_BB(gwi_oper_end(gwi, ">=", instr_class_ge))