hand_rank 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/hand_rank/hand_rank.c +2 -2
- data/lib/hand_rank/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d87959eeb4ea3c759da6ff59367f2655282f2731
|
4
|
+
data.tar.gz: 9979480886a4910f390b7535356e89d22af687fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ae5cddae22f05294ca83f6d52340d22e4a203d32cfac6e57a13cea66706343e156dd704d95d38a6a7d2bb755fe352cb02def1dc724903e7f76b9998e6df45f3
|
7
|
+
data.tar.gz: ede5ca1ce6fcbca7d4101d1d4a29bb6fa036a492fadd0bc695b38114386a6c733434f3a65eff3534440d58652fb35d089eb4a60fcf441876cbe9b815d92e908d
|
data/ext/hand_rank/hand_rank.c
CHANGED
@@ -51,9 +51,9 @@ char* c_hand_category_key( int index ){
|
|
51
51
|
}
|
52
52
|
|
53
53
|
void convert_ruby_array_to_c_array( VALUE rb_cards, int *c_cards, int length ){
|
54
|
-
int i
|
54
|
+
int i;
|
55
55
|
|
56
|
-
for(
|
56
|
+
for( i = 0; i < length; i++ ){
|
57
57
|
c_cards[ i ] = NUM2INT( rb_ary_entry( rb_cards, i ));
|
58
58
|
}
|
59
59
|
}
|
data/lib/hand_rank/version.rb
CHANGED