fix arity of rb_mutex_synchronize_m
This is just a trivial mistake introduced in 6c56dae4b23c5c50e351758538141ca26b9aba40.
This commit is contained in:
parent
abe12d8b96
commit
69683968a9
@ -521,7 +521,7 @@ rb_mutex_synchronize(VALUE mutex, VALUE (*func)(VALUE arg), VALUE arg)
|
||||
* completes. See the example under +Mutex+.
|
||||
*/
|
||||
static VALUE
|
||||
rb_mutex_synchronize_m(VALUE self, VALUE args)
|
||||
rb_mutex_synchronize_m(VALUE self)
|
||||
{
|
||||
if (!rb_block_given_p()) {
|
||||
rb_raise(rb_eThreadError, "must be called with a block");
|
||||
|
Loading…
x
Reference in New Issue
Block a user