Merge: ordered_tree: make OrderedTree implement Collection
[nit.git] / c_src / hash_collection.sep.0.h
1 #include "nit.common.h"
2 extern const int COLOR_hash_collection__HashCollection___first_item;
3 val* hash_collection__HashCollection__first_item(val* self);
4 extern const int COLOR_hash_collection__HashCollection_FT0;
5 extern const int COLOR_kernel__Object__hash;
6 extern const int COLOR_hash_collection__HashCollection___capacity;
7 extern const struct type type_kernel__Int;
8 long hash_collection__HashCollection__index_at(val* self, val* p0);
9 extern const int COLOR_hash_collection__HashCollection___last_accessed_key;
10 extern const int COLOR_kernel__Object__is_same_instance;
11 extern const int COLOR_hash_collection__HashCollection___last_accessed_node;
12 extern const int COLOR_hash_collection__HashCollection__index_at;
13 extern const int COLOR_hash_collection__HashCollection__node_at_idx;
14 val* hash_collection__HashCollection__node_at(val* self, val* p0);
15 extern const int COLOR_hash_collection__HashCollection___array;
16 extern const int COLOR_array__NativeArray___91d_93d;
17 extern const int COLOR_hash_collection__HashNode___key;
18 extern const int COLOR_kernel__Object___61d_61d;
19 extern const int COLOR_hash_collection__HashNode___next_in_bucklet;
20 extern const int COLOR_nullable_hash_collection__HashCollection_FT1;
21 val* hash_collection__HashCollection__node_at_idx(val* self, long p0, val* p1);
22 extern const int COLOR_hash_collection__HashCollection_FT1;
23 extern const int COLOR_hash_collection__HashCollection___last_item;
24 extern const int COLOR_hash_collection__HashNode___next_item;
25 extern const int COLOR_hash_collection__HashNode___prev_item;
26 extern const int COLOR_array__NativeArray___91d_93d_61d;
27 extern const int COLOR_hash_collection__HashNode___prev_in_bucklet;
28 extern const int COLOR_nullable_hash_collection__HashCollection_FT0;
29 extern const int COLOR_hash_collection__HashCollection___length;
30 extern const int COLOR_hash_collection__HashCollection__enlarge;
31 void hash_collection__HashCollection__store(val* self, long p0, val* p1);
32 void hash_collection__HashCollection__remove_node(val* self, val* p0);
33 void hash_collection__HashCollection__raz(val* self);
34 extern const int COLOR_array__ArrayCapable__calloc_array;
35 void hash_collection__HashCollection__enlarge(val* self, long p0);
36 void hash_collection__HashCollection__init(val* self);
37 val* hash_collection__HashNode__next_item(val* self);
38 extern const int COLOR_nullable_hash_collection__HashNode_VTN;
39 void hash_collection__HashNode__next_item_61d(val* self, val* p0);
40 val* hash_collection__HashNode__prev_item(val* self);
41 void hash_collection__HashNode__prev_item_61d(val* self, val* p0);
42 extern const int COLOR_hash_collection__HashNode_FT0;
43 void hash_collection__HashNode__init(val* self, val* p0);
44 extern const int COLOR_abstract_collection__MapRead_FT0;
45 extern const int COLOR_hash_collection__HashCollection__node_at;
46 extern const int COLOR_abstract_collection__MapRead__provide_default_value;
47 extern const int COLOR_hash_collection__HashMapNode___value;
48 val* hash_collection__HashMap___91d_93d(val* self, val* p0);
49 val* NEW_hash_collection__HashMapIterator(const struct type* type);
50 extern const int COLOR_hash_collection__HashMapIteratorhash_collection__HashMap_FT0hash_collection__HashMap_FT1;
51 extern const int COLOR_hash_collection__HashMapIterator__init;
52 val* hash_collection__HashMap__iterator(val* self);
53 long hash_collection__HashMap__length(val* self);
54 short int hash_collection__HashMap__is_empty(val* self);
55 extern const int COLOR_abstract_collection__Map_FT0;
56 extern const int COLOR_abstract_collection__Map_FT1;
57 val* NEW_hash_collection__HashMapNode(const struct type* type);
58 extern const int COLOR_hash_collection__HashMapNodehash_collection__HashMap_FT0hash_collection__HashMap_FT1;
59 extern const int COLOR_hash_collection__HashMapNode__init;
60 extern const int COLOR_hash_collection__HashCollection__store;
61 void hash_collection__HashMap___91d_93d_61d(val* self, val* p0, val* p1);
62 extern const int COLOR_hash_collection__HashCollection__raz;
63 void hash_collection__HashMap__clear(val* self);
64 extern const int COLOR_hash_collection__HashCollection__init;
65 void hash_collection__HashMap__init(val* self);
66 extern const int COLOR_hash_collection__HashMap___64dkeys;
67 val* hash_collection__HashMap__keys(val* self);
68 extern const int COLOR_hash_collection__HashMapKeyshash_collection__HashMap_FT0hash_collection__HashMap_FT1;
69 void hash_collection__HashMap__keys_61d(val* self, val* p0);
70 extern const int COLOR_hash_collection__HashMap___64dvalues;
71 val* hash_collection__HashMap__values(val* self);
72 extern const int COLOR_hash_collection__HashMapValueshash_collection__HashMap_FT0hash_collection__HashMap_FT1;
73 void hash_collection__HashMap__values_61d(val* self, val* p0);
74 extern const int COLOR_hash_collection__HashMapKeys___64dmap;
75 val* hash_collection__HashMapKeys__map(val* self);
76 extern const int COLOR_hash_collection__HashMaphash_collection__HashMapKeys_FT0hash_collection__HashMapKeys_FT1;
77 void hash_collection__HashMapKeys__map_61d(val* self, val* p0);
78 extern const int COLOR_abstract_collection__Collection_FT0;
79 extern const int COLOR_abstract_collection__Collection__has;
80 long hash_collection__HashMapKeys__count(val* self, val* p0);
81 extern const int COLOR_hash_collection__HashMapKeys__map;
82 val* hash_collection__HashMapKeys__first(val* self);
83 short int hash_collection__HashMapKeys__has(val* self, val* p0);
84 extern const int COLOR_abstract_collection__Collection__length;
85 extern const int COLOR_abstract_collection__Collection__is_empty;
86 short int hash_collection__HashMapKeys__has_only(val* self, val* p0);
87 extern const int COLOR_abstract_collection__MapRead__is_empty;
88 short int hash_collection__HashMapKeys__is_empty(val* self);
89 extern const int COLOR_abstract_collection__MapRead__length;
90 long hash_collection__HashMapKeys__length(val* self);
91 val* NEW_abstract_collection__MapKeysIterator(const struct type* type);
92 extern const int COLOR_abstract_collection__MapKeysIteratorhash_collection__HashMapKeys_FT0hash_collection__HashMapKeys_FT1;
93 extern const int COLOR_abstract_collection__MapRead__iterator;
94 extern const int COLOR_abstract_collection__MapKeysIterator__init;
95 val* hash_collection__HashMapKeys__iterator(val* self);
96 extern const int COLOR_abstract_collection__Map__clear;
97 void hash_collection__HashMapKeys__clear(val* self);
98 extern const int COLOR_abstract_collection__RemovableCollection_FT0;
99 extern const int COLOR_hash_collection__HashCollection__remove_node;
100 void hash_collection__HashMapKeys__remove(val* self, val* p0);
101 void hash_collection__HashMapKeys__remove_all(val* self, val* p0);
102 void hash_collection__HashMapKeys__init(val* self, val* p0);
103 extern const int COLOR_hash_collection__HashMapValues___64dmap;
104 val* hash_collection__HashMapValues__map(val* self);
105 extern const int COLOR_hash_collection__HashMaphash_collection__HashMapValues_FT0hash_collection__HashMapValues_FT1;
106 void hash_collection__HashMapValues__map_61d(val* self, val* p0);
107 extern const int COLOR_hash_collection__HashMapValues__map;
108 long hash_collection__HashMapValues__count(val* self, val* p0);
109 val* hash_collection__HashMapValues__first(val* self);
110 short int hash_collection__HashMapValues__has(val* self, val* p0);
111 extern const int COLOR_kernel__Object___33d_61d;
112 short int hash_collection__HashMapValues__has_only(val* self, val* p0);
113 short int hash_collection__HashMapValues__is_empty(val* self);
114 long hash_collection__HashMapValues__length(val* self);
115 val* NEW_abstract_collection__MapValuesIterator(const struct type* type);
116 extern const int COLOR_abstract_collection__MapValuesIteratorhash_collection__HashMapValues_FT0hash_collection__HashMapValues_FT1;
117 extern const int COLOR_abstract_collection__MapValuesIterator__init;
118 val* hash_collection__HashMapValues__iterator(val* self);
119 void hash_collection__HashMapValues__clear(val* self);
120 void hash_collection__HashMapValues__remove(val* self, val* p0);
121 void hash_collection__HashMapValues__remove_all(val* self, val* p0);
122 void hash_collection__HashMapValues__init(val* self, val* p0);
123 extern const int COLOR_hash_collection__HashMapNode_FT0;
124 extern const int COLOR_hash_collection__HashMapNode_FT1;
125 extern const int COLOR_hash_collection__HashNode__init;
126 void hash_collection__HashMapNode__init(val* self, val* p0, val* p1);
127 extern const int COLOR_hash_collection__HashMapIterator___node;
128 short int hash_collection__HashMapIterator__is_ok(val* self);
129 extern const int COLOR_abstract_collection__MapIterator__is_ok;
130 val* hash_collection__HashMapIterator__item(val* self);
131 val* hash_collection__HashMapIterator__key(val* self);
132 void hash_collection__HashMapIterator__next(val* self);
133 extern const int COLOR_hash_collection__HashMaphash_collection__HashMapIterator_FT0hash_collection__HashMapIterator_FT1;
134 extern const int COLOR_hash_collection__HashMapIterator___map;
135 extern const int COLOR_hash_collection__HashCollection__first_item;
136 void hash_collection__HashMapIterator__init(val* self, val* p0);
137 long hash_collection__HashSet__length(val* self);
138 short int hash_collection__HashSet__is_empty(val* self);
139 val* hash_collection__HashSet__first(val* self);
140 short int hash_collection__HashSet__has(val* self, val* p0);
141 extern const int COLOR_abstract_collection__SimpleCollection_FT0;
142 val* NEW_hash_collection__HashSetNode(const struct type* type);
143 extern const int COLOR_hash_collection__HashSetNodehash_collection__HashSet_FT0;
144 extern const int COLOR_hash_collection__HashSetNode__init;
145 void hash_collection__HashSet__add(val* self, val* p0);
146 void hash_collection__HashSet__remove(val* self, val* p0);
147 void hash_collection__HashSet__clear(val* self);
148 val* NEW_hash_collection__HashSetIterator(const struct type* type);
149 extern const int COLOR_hash_collection__HashSetIteratorhash_collection__HashSet_FT0;
150 extern const int COLOR_hash_collection__HashSetIterator__init;
151 val* hash_collection__HashSet__iterator(val* self);
152 void hash_collection__HashSet__init(val* self);
153 extern const int COLOR_abstract_collection__Collectionhash_collection__HashSet_FT0;
154 extern const int COLOR_hash_collection__HashSet__init;
155 extern const int COLOR_abstract_collection__SimpleCollection__add_all;
156 void hash_collection__HashSet__from(val* self, val* p0);
157 extern const int COLOR_hash_collection__HashSetNode_FT0;
158 void hash_collection__HashSetNode__init(val* self, val* p0);
159 extern const int COLOR_hash_collection__HashSetIterator___node;
160 short int hash_collection__HashSetIterator__is_ok(val* self);
161 extern const int COLOR_abstract_collection__Iterator__is_ok;
162 val* hash_collection__HashSetIterator__item(val* self);
163 void hash_collection__HashSetIterator__next(val* self);
164 extern const int COLOR_hash_collection__HashSethash_collection__HashSetIterator_FT0;
165 extern const int COLOR_hash_collection__HashSetIterator___set;
166 void hash_collection__HashSetIterator__init(val* self, val* p0);