fix links, fix hot reload

This commit is contained in:
2025-12-10 01:37:21 -06:00
parent 37f2cff6ec
commit 752479e250
11 changed files with 526 additions and 240 deletions

View File

@@ -900,7 +900,7 @@ static JSValue js_error_toString(JSContext *ctx, JSValueConst this_val,
int argc, JSValueConst *argv);
static const JSClassExoticMethods js_string_exotic_methods;
static JSClassID js_class_id_alloc = JS_CLASS_INIT_COUNT;
JSClassID js_class_id_alloc = JS_CLASS_INIT_COUNT;
static void js_trigger_gc(JSRuntime *rt, size_t size)
{

View File

@@ -496,6 +496,8 @@ JSClassID JS_GetClassID(JSValue v);
int JS_NewClass(JSRuntime *rt, JSClassID class_id, const JSClassDef *class_def);
int JS_IsRegisteredClass(JSRuntime *rt, JSClassID class_id);
extern JSClassID js_class_id_alloc;
/* value handling */
static js_force_inline JSValue JS_NewBool(JSContext *ctx, JS_BOOL val)