about summary refs log tree commit diff stats
path: root/lib/quickjs/quickjs.h
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-12-28 21:51:23 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-28 21:51:23 +0100
commitb24e46aab19e210d5ca16ade19f1ffa63cc882cc (patch)
treef0ba34ce6c76bf2ce43597e443dd0b95dc8c5037 /lib/quickjs/quickjs.h
parentd91d1dda2ad1219b3b798eafc14151811ed9a1b3 (diff)
downloadchawan-b24e46aab19e210d5ca16ade19f1ffa63cc882cc.tar.gz
Revert TLA support patch
Importing it from upstream.

(Hoping this revert actually worked...)
Diffstat (limited to 'lib/quickjs/quickjs.h')
-rw-r--r--lib/quickjs/quickjs.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/quickjs/quickjs.h b/lib/quickjs/quickjs.h
index be3d210f..dd96ddd0 100644
--- a/lib/quickjs/quickjs.h
+++ b/lib/quickjs/quickjs.h
@@ -1052,17 +1052,6 @@ int JS_SetModuleExport(JSContext *ctx, JSModuleDef *m, const char *export_name,
 int JS_SetModuleExportList(JSContext *ctx, JSModuleDef *m,
                            const JSCFunctionListEntry *tab, int len);
 
-/* Promise */
-
-typedef enum JSPromiseStateEnum {
-    JS_PROMISE_PENDING,
-    JS_PROMISE_FULFILLED,
-    JS_PROMISE_REJECTED,
-} JSPromiseStateEnum;
-
-JSPromiseStateEnum JS_PromiseState(JSContext *ctx, JSValue promise);
-JSValue JS_PromiseResult(JSContext *ctx, JSValue promise);
-
 #undef js_unlikely
 #undef js_force_inline