From e2539acad844c3559e4afed6cf9782fe7026bb7c Mon Sep 17 00:00:00 2001 From: karurochari Date: Thu, 16 May 2024 02:34:09 +0000 Subject: [PATCH] fixed bool --- quickjs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickjs.h b/quickjs.h index 5a828dd..56c8ff5 100644 --- a/quickjs.h +++ b/quickjs.h @@ -303,8 +303,8 @@ JS_EXTERN void JS_SetMemoryLimit(JSRuntime *rt, size_t limit); JS_EXTERN void JS_SetDumpFlags(JSRuntime *rt, uint64_t flags); JS_EXTERN void JS_SetGCThreshold(JSRuntime *rt, size_t gc_threshold); JS_EXTERN size_t JS_GetGCThreshold(JSRuntime *rt); -JS_EXTERN void JS_SetGCThresholdFixed(JSRuntime *rt, BOOL fixed); -JS_EXTERN void JS_SetGCBeforeCallback(JSRuntime *rt, BOOL(*fn)()); +JS_EXTERN void JS_SetGCThresholdFixed(JSRuntime *rt, JS_BOOL fixed); +JS_EXTERN void JS_SetGCBeforeCallback(JSRuntime *rt, JS_BOOL (*fn)()); JS_EXTERN void JS_SetGCAfterCallback(JSRuntime *rt, void(*fn)()); /* use 0 to disable maximum stack size check */ JS_EXTERN void JS_SetMaxStackSize(JSRuntime *rt, size_t stack_size);