Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit ac1d0e0

Browse files
committed
Fix the required number of arguments for the SetAccessor method
1 parent 07352d6 commit ac1d0e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/v8/object.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ namespace rr {
8080

8181
VALUE Object::SetAccessor(int argc, VALUE* argv, VALUE self) {
8282
VALUE r_context, name, getter, setter, data, settings, attribute;
83-
rb_scan_args(argc, argv, "52", &r_context, &name, &getter, &setter, &data, &settings, &attribute);
83+
rb_scan_args(argc, argv, "34", &r_context, &name, &getter, &setter, &data, &settings, &attribute);
8484

8585
Object object(self);
8686
Context context(r_context);

0 commit comments

Comments
 (0)