char_size 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/char_size/char_size.c +6 -0
- data/lib/char_size/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: 275c767aa359cab5f7eb1eb177e4e8f36d7454e9
|
4
|
+
data.tar.gz: 150c93ec7c8b3399382fa4e777f7bef8f61adfa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2eb6fc3927b8e49fab2f02a92c1fa73cc0d041f9c97a4037933f7e7baa586c59e22996dcaf4fbc3fc795c43ecb1d05a18a426372a68d73f9195b04d670b90cd
|
7
|
+
data.tar.gz: 84f99f9521c3585a8b149f0a59877827b874f29e30b6fa7d3bd5f04ed614cf04d5e5b12681af90d4ad8e37017b3a71f6a67cf4c3c280889eb61e8dc950a79bf0
|
data/ext/char_size/char_size.c
CHANGED
@@ -43,6 +43,12 @@ static VALUE minmax(VALUE class, VALUE encoding_or_name)
|
|
43
43
|
return rb_assoc_new(min, max);
|
44
44
|
}
|
45
45
|
|
46
|
+
/*
|
47
|
+
* Document-module: CharSize
|
48
|
+
*
|
49
|
+
* The +CharSize+ module provides functions that return the character size
|
50
|
+
* limits of encodings.
|
51
|
+
*/
|
46
52
|
void Init_char_size(void)
|
47
53
|
{
|
48
54
|
VALUE CharSize = rb_define_module("CharSize");
|
data/lib/char_size/version.rb
CHANGED