From 30fc85e6ac0d6db128ddc244e6a1d479cb89dc8d Mon Sep 17 00:00:00 2001 From: Spencer Pozder Date: Tue, 30 Apr 2024 16:58:59 -0400 Subject: [PATCH] Method Signature Bugfixes --- VERSION | 2 +- ext/bitset/bitset.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 26aaba0..6085e94 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.0 +1.2.1 diff --git a/ext/bitset/bitset.c b/ext/bitset/bitset.c index 1264fb1..da3ddbe 100644 --- a/ext/bitset/bitset.c +++ b/ext/bitset/bitset.c @@ -75,7 +75,7 @@ static VALUE rb_bitset_initialize(VALUE self, VALUE ary) { return self; } -static VALUE rb_bitset_size(VALUE self, VALUE len) { +static VALUE rb_bitset_size(VALUE self) { Bitset * bs = get_bitset(self); return INT2NUM(bs->len); } @@ -521,7 +521,7 @@ static VALUE rb_bitset_values_at(VALUE self, VALUE index_array) { } /** This could run a bit faster if you worked at it. */ -static VALUE rb_bitset_reverse(VALUE self, VALUE index_array) { +static VALUE rb_bitset_reverse(VALUE self) { int i; Bitset * bs = get_bitset(self); int len = bs->len;