From: Jérémie Astor Date: Sun, 5 Sep 2021 20:47:30 +0000 (+0200) Subject: :art: Set class operators to bool X-Git-Tag: nightly~470^2~12 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=3d7967060d35889cdfb3ac2e8b4b5debe8da863c;p=gwion.git :art: Set class operators to bool --- diff --git a/src/lib/engine.c b/src/lib/engine.c index 9acbaba6..3ae7db51 100644 --- a/src/lib/engine.c +++ b/src/lib/engine.c @@ -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))