no more special case for core C

This commit is contained in:
2026-02-14 22:00:12 -06:00
parent 86609c27f8
commit eee06009b9
38 changed files with 14471 additions and 14967 deletions

View File

@@ -568,7 +568,7 @@ static const JSCFunctionListEntry js_enet_peer_funcs[] = {
// JS_CGETSET_DEF("address", js_enet_peer_get_address, NULL),
};
JSValue js_enet_use(JSContext *ctx)
JSValue js_core_enet_use(JSContext *ctx)
{
JS_NewClassID(&enet_host_id);
JS_NewClass(ctx, enet_host_id, &enet_host);