rbtree 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README +3 -0
- data/rbtree.c +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42305188c5448bb5c684e198069f323816d32d5a
|
4
|
+
data.tar.gz: f1d5608adf7f2c1d142048d5abbe499d11cc83a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 892207ef1dc38a23044b15480bcd57a4ab722cc944131f1d56d1878aa668b539d0c10f6a0cdd6c52b7d3255e17c14fb466ed898a3bc56fbe0e15472da912a888
|
7
|
+
data.tar.gz: c2a3503fcc68622ab775d421843b25d07afa7f1702e870ad57a600f3c06b904179c86d62bc6dd3d6c86e5948af09f95e37998de35fb7c8e48e00c4478fae9e15
|
data/README
CHANGED
data/rbtree.c
CHANGED
@@ -183,6 +183,7 @@ rbtree_alloc(VALUE klass)
|
|
183
183
|
dict_t* dict;
|
184
184
|
VALUE rbtree = Data_Wrap_Struct(klass, rbtree_mark, rbtree_free, 0);
|
185
185
|
RBTREE(rbtree) = ALLOC(rbtree_t);
|
186
|
+
MEMZERO(RBTREE(rbtree), rbtree_t, 1);
|
186
187
|
|
187
188
|
dict = ALLOC(dict_t);
|
188
189
|
dict_init(dict, rbtree_cmp);
|
@@ -194,7 +195,6 @@ rbtree_alloc(VALUE klass)
|
|
194
195
|
DICT(rbtree) = dict;
|
195
196
|
IFNONE(rbtree) = Qnil;
|
196
197
|
CMP_PROC(rbtree) = Qnil;
|
197
|
-
ITER_LEV(rbtree) = 0;
|
198
198
|
return rbtree;
|
199
199
|
}
|
200
200
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbtree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OZAWA Takuma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-03-
|
11
|
+
date: 2013-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
A RBTree is a sorted associative collection that is implemented with a
|
@@ -38,6 +38,8 @@ licenses:
|
|
38
38
|
metadata: {}
|
39
39
|
post_install_message:
|
40
40
|
rdoc_options:
|
41
|
+
- --title
|
42
|
+
- Ruby/RBTree
|
41
43
|
- --main
|
42
44
|
- README
|
43
45
|
- --exclude
|