rm new
This commit is contained in:
@@ -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);
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user