quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

commit 643dbdafff969628bb3e66ae124ba9e25472eab1
parent f0126853bfffc0d6de77c728919c629bda3e3bab
Author: Fabrice Bellard <fabrice@bellard.org>
Date:   Wed, 27 Dec 2023 18:28:54 +0100

define the same atoms with or without CONFIG_ATOMICS (github issue #76)

Diffstat:
Mquickjs/quickjs-atom.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/quickjs/quickjs-atom.h b/quickjs/quickjs-atom.h @@ -178,11 +178,11 @@ DEF(roundingMode, "roundingMode") DEF(maximumSignificantDigits, "maximumSignificantDigits") DEF(maximumFractionDigits, "maximumFractionDigits") #endif -#ifdef CONFIG_ATOMICS +/* the following 3 atoms are only used with CONFIG_ATOMICS */ DEF(not_equal, "not-equal") DEF(timed_out, "timed-out") DEF(ok, "ok") -#endif +/* */ DEF(toJSON, "toJSON") /* class names */ DEF(Object, "Object")