This commit is contained in:
2026-01-20 12:04:30 -06:00
parent 187879a7c6
commit 313a2e7eeb
8 changed files with 79 additions and 78 deletions

View File

@@ -141,5 +141,5 @@ CELL_USE_INIT(
JS_SetClassProto(js, js_mersenne_class_id, proto);
// Return the factory function
return JS_NewCFunction2(js, js_mersenne_use_call, "mersenne", 1, JS_CFUNC_constructor, 0);
return JS_NewCFunction2(js, js_mersenne_use_call, "mersenne", 1, JS_CFUNC_generic, 0);
)