diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2025-04-05 12:49:29 +0200 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2025-04-05 12:49:29 +0200 |
commit | 8b5b1277ad5236c6cfe3d43c0529e7a2440f1e25 (patch) | |
tree | 39bfe5cb2f4f814d9e615f61d6dc385b1dd891dc /quickjs.h | |
parent | bf164d640f8835031dbd53a0719413e7dfd0e916 (diff) | |
download | quickjs-8b5b1277ad5236c6cfe3d43c0529e7a2440f1e25.tar.gz quickjs-8b5b1277ad5236c6cfe3d43c0529e7a2440f1e25.zip |
reworked weak references so that cycles are (hopefully) correctly handled - added Symbol as WeakMap key, WeakRef and FinalizationRegistry
Diffstat (limited to 'quickjs.h')
-rw-r--r-- | quickjs.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -405,6 +405,7 @@ void JS_AddIntrinsicProxy(JSContext *ctx); void JS_AddIntrinsicMapSet(JSContext *ctx); void JS_AddIntrinsicTypedArrays(JSContext *ctx); void JS_AddIntrinsicPromise(JSContext *ctx); +void JS_AddIntrinsicWeakRef(JSContext *ctx); JSValue js_string_codePointRange(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv); |