From 8e0775af24c3a198d38f38376302146be519477a Mon Sep 17 00:00:00 2001 From: Martin Vladic Date: Tue, 17 Dec 2024 19:09:23 +0100 Subject: [PATCH] #669 --- resources/eez-framework-amalgamation/eez-flow.cpp | 8 +++++++- resources/eez-framework-amalgamation/eez-flow.h | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/resources/eez-framework-amalgamation/eez-flow.cpp b/resources/eez-framework-amalgamation/eez-flow.cpp index 1e8399df..4d7bde73 100644 --- a/resources/eez-framework-amalgamation/eez-flow.cpp +++ b/resources/eez-framework-amalgamation/eez-flow.cpp @@ -1,4 +1,4 @@ -/* Autogenerated on December 14, 2024 11:41:16 AM from eez-framework commit 48ec9b6f2bcdc7677b3f9485f6e6dbc07fbad732 */ +/* Autogenerated on December 17, 2024 7:08:39 PM from eez-framework commit 5ca49b64d830b3cd1abdc4270f2b9cbc48d7a9f3 */ /* * eez-framework * @@ -2655,6 +2655,9 @@ bool Value::toBool(int *err) const { if (isJson()) { return int32Value != 0; } + if (isWidget()) { + return pVoidValue != 0; + } if (err) { *err = 1; } @@ -7998,6 +8001,9 @@ bool is_equal(const Value& a1, const Value& b1) { } return memcmp(aBlobRef->blob, bBlobRef->blob, aBlobRef->len) == 0; } + if (a.getType() == b.getType()) { + return a == b; + } return a.toDouble() == b.toDouble(); } bool is_less(const Value& a1, const Value& b1) { diff --git a/resources/eez-framework-amalgamation/eez-flow.h b/resources/eez-framework-amalgamation/eez-flow.h index df2cb58a..96181ce1 100644 --- a/resources/eez-framework-amalgamation/eez-flow.h +++ b/resources/eez-framework-amalgamation/eez-flow.h @@ -1,4 +1,4 @@ -/* Autogenerated on December 14, 2024 11:41:16 AM from eez-framework commit 48ec9b6f2bcdc7677b3f9485f6e6dbc07fbad732 */ +/* Autogenerated on December 17, 2024 7:08:39 PM from eez-framework commit 5ca49b64d830b3cd1abdc4270f2b9cbc48d7a9f3 */ /* * eez-framework *