538cd50b71d693df6830f88e9544ae0fe01431e0
[nit.git] / c_src / array.sep.0.h
1 #include "nit.common.h"
2 extern const int COLOR_array__AbstractArrayRead___length;
3 long array__AbstractArrayRead__length(val* self);
4 short int array__AbstractArrayRead__is_empty(val* self);
5 extern const int COLOR_abstract_collection__Collection_FT0;
6 extern const int COLOR_abstract_collection__Collection__length;
7 extern const struct type type_kernel__Int;
8 extern const int COLOR_abstract_collection__SequenceRead___91d_93d;
9 extern const int COLOR_kernel__Object___61d_61d;
10 short int array__AbstractArrayRead__has(val* self, val* p0);
11 extern const int COLOR_kernel__Object___33d_61d;
12 short int array__AbstractArrayRead__has_only(val* self, val* p0);
13 long array__AbstractArrayRead__count(val* self, val* p0);
14 extern const int COLOR_abstract_collection__SequenceRead_FT0;
15 extern const int COLOR_array__AbstractArrayRead__index_of_from;
16 long array__AbstractArrayRead__index_of(val* self, val* p0);
17 extern const int COLOR_array__AbstractArrayRead_FT0;
18 extern const int COLOR_array__AbstractArrayRead__last_index_of_from;
19 long array__AbstractArrayRead__last_index_of(val* self, val* p0);
20 long array__AbstractArrayRead__index_of_from(val* self, val* p0, long p1);
21 long array__AbstractArrayRead__last_index_of_from(val* self, val* p0, long p1);
22 val* NEW_array__Array(const struct type* type);
23 extern const int COLOR_array__Arrayarray__AbstractArrayRead_FT0;
24 extern const int COLOR_array__Array__with_capacity;
25 void CHECK_NEW_array__Array(val*);
26 extern const int COLOR_abstract_collection__SimpleCollection__add;
27 val* array__AbstractArrayRead__reversed(val* self);
28 extern const int COLOR_array__AbstractArrayarray__AbstractArrayRead_FT0;
29 extern const int COLOR_abstract_collection__Sequence___91d_93d_61d;
30 void array__AbstractArrayRead__copy_to(val* self, long p0, long p1, val* p2, long p3);
31 extern const int COLOR_kernel__Object__output;
32 void array__AbstractArrayRead__output(val* self);
33 val* NEW_array__ArrayIterator(const struct type* type);
34 extern const int COLOR_array__ArrayIteratorarray__AbstractArrayRead_FT0;
35 extern const int COLOR_array__ArrayIterator__init;
36 void CHECK_NEW_array__ArrayIterator(val*);
37 val* array__AbstractArrayRead__iterator(val* self);
38 void array__AbstractArrayRead__init(val* self);
39 void array__AbstractArray__enlarge(val* self, long p0);
40 extern const int COLOR_abstract_collection__Sequence_FT0;
41 void array__AbstractArray__push(val* self, val* p0);
42 extern const int COLOR_abstract_collection__Collection__is_empty;
43 extern const int COLOR_abstract_collection__SequenceRead__last;
44 val* array__AbstractArray__pop(val* self);
45 extern const int COLOR_abstract_collection__Collection__first;
46 val* array__AbstractArray__shift(val* self);
47 void array__AbstractArray__unshift(val* self, val* p0);
48 extern const int COLOR_array__AbstractArray_FT0;
49 extern const int COLOR_array__AbstractArray__enlarge;
50 extern const int COLOR_array__AbstractArrayRead__copy_to;
51 void array__AbstractArray__insert(val* self, val* p0, long p1);
52 extern const int COLOR_abstract_collection__SimpleCollection_FT0;
53 void array__AbstractArray__add(val* self, val* p0);
54 void array__AbstractArray__clear(val* self);
55 extern const int COLOR_abstract_collection__RemovableCollection_FT0;
56 extern const int COLOR_abstract_collection__SequenceRead__index_of;
57 extern const int COLOR_abstract_collection__Sequence__remove_at;
58 void array__AbstractArray__remove(val* self, val* p0);
59 void array__AbstractArray__remove_all(val* self, val* p0);
60 void array__AbstractArray__remove_at(val* self, long p0);
61 void array__AbstractArray__swap_at(val* self, long p0, long p1);
62 extern const int COLOR_array__AbstractArrayRead__init;
63 void array__AbstractArray__init(val* self);
64 extern const int COLOR_array__Array___items;
65 void array__Array__iterate(val* self);
66 extern const int COLOR_array__NativeArray___91d_93d;
67 val* array__Array___91d_93d(val* self, long p0);
68 extern const int COLOR_array__Array___capacity;
69 extern const int COLOR_array__NativeArray___91d_93d_61d;
70 void array__Array___91d_93d_61d(val* self, long p0, val* p1);
71 void array__Array__add(val* self, val* p0);
72 extern const int COLOR_array__ArrayCapable__calloc_array;
73 extern const int COLOR_array__NativeArray__copy_to;
74 void array__Array__enlarge(val* self, long p0);
75 extern const int COLOR_array__AbstractArray__init;
76 void array__Array__init(val* self);
77 extern const int COLOR_abstract_collection__Collectionarray__Array_FT0;
78 extern const int COLOR_abstract_collection__SimpleCollection__add_all;
79 void array__Array__from(val* self, val* p0);
80 void array__Array__with_items(val* self, val* p0);
81 void array__Array__with_capacity(val* self, long p0);
82 extern const int COLOR_array__Array_FT0;
83 void array__Array__filled_with(val* self, val* p0, long p1);
84 extern const int COLOR_array__NativeArrayarray__Array_FT0;
85 void array__Array__with_native(val* self, val* p0, long p1);
86 val* array__Array__intern_items(val* self);
87 extern const int COLOR_array__Array__sub_sort;
88 void array__Array__sort(val* self);
89 void array__Array__sub_sort(val* self, long p0, long p1);
90 extern const int COLOR_array__ArrayIterator___array;
91 extern const int COLOR_array__ArrayIterator___index;
92 val* array__ArrayIterator__item(val* self);
93 short int array__ArrayIterator__is_ok(val* self);
94 void array__ArrayIterator__next(val* self);
95 extern const int COLOR_array__AbstractArrayReadarray__ArrayIterator_FT0;
96 void array__ArrayIterator__init(val* self, val* p0);
97 long array__ArrayIterator__index(val* self);
98 extern const int COLOR_array__ArraySet___array;
99 extern const int COLOR_abstract_collection__Collection__has;
100 short int array__ArraySet__has(val* self, val* p0);
101 void array__ArraySet__add(val* self, val* p0);
102 short int array__ArraySet__is_empty(val* self);
103 long array__ArraySet__length(val* self);
104 val* array__ArraySet__first(val* self);
105 extern const int COLOR_array__ArraySet__remove_at;
106 void array__ArraySet__remove(val* self, val* p0);
107 extern const int COLOR_abstract_collection__RemovableCollection__remove;
108 void array__ArraySet__remove_all(val* self, val* p0);
109 extern const int COLOR_abstract_collection__RemovableCollection__clear;
110 void array__ArraySet__clear(val* self);
111 val* NEW_array__ArraySetIterator(const struct type* type);
112 extern const int COLOR_array__ArraySetIteratorarray__ArraySet_FT0;
113 extern const int COLOR_abstract_collection__Collection__iterator;
114 extern const int COLOR_array__ArraySetIterator__init;
115 void CHECK_NEW_array__ArraySetIterator(val*);
116 val* array__ArraySet__iterator(val* self);
117 void array__ArraySet__enlarge(val* self, long p0);
118 extern const int COLOR_abstract_collection__Sequence__pop;
119 void array__ArraySet__remove_at(val* self, long p0);
120 extern const int COLOR_array__Arrayarray__ArraySet_FT0;
121 extern const int COLOR_array__Array__init;
122 void array__ArraySet__init(val* self);
123 void array__ArraySet__with_capacity(val* self, long p0);
124 extern const int COLOR_array__ArraySetIterator___iter;
125 extern const int COLOR_abstract_collection__Iterator__is_ok;
126 short int array__ArraySetIterator__is_ok(val* self);
127 extern const int COLOR_abstract_collection__Iterator__next;
128 void array__ArraySetIterator__next(val* self);
129 extern const int COLOR_abstract_collection__Iterator__item;
130 val* array__ArraySetIterator__item(val* self);
131 extern const int COLOR_array__ArrayIteratorarray__ArraySetIterator_FT0;
132 void array__ArraySetIterator__init(val* self, val* p0);
133 extern const int COLOR_abstract_collection__MapRead_FT0;
134 extern const int COLOR_array__ArrayMap__index;
135 extern const int COLOR_array__ArrayMap___items;
136 extern const int COLOR_abstract_collection__Couple__second;
137 val* array__ArrayMap___91d_93d(val* self, val* p0);
138 extern const int COLOR_abstract_collection__Map_FT0;
139 extern const int COLOR_abstract_collection__Map_FT1;
140 extern const int COLOR_abstract_collection__Couple__second_61d;
141 val* NEW_abstract_collection__Couple(const struct type* type);
142 extern const int COLOR_abstract_collection__Couplearray__ArrayMap_FT0array__ArrayMap_FT1;
143 extern const int COLOR_abstract_collection__Couple__init;
144 void CHECK_NEW_abstract_collection__Couple(val*);
145 extern const int COLOR_abstract_collection__Sequence__push;
146 void array__ArrayMap___91d_93d_61d(val* self, val* p0, val* p1);
147 extern const int COLOR_array__ArrayMap___64dkeys;
148 val* array__ArrayMap__keys(val* self);
149 extern const int COLOR_array__ArrayMapKeysarray__ArrayMap_FT0array__ArrayMap_FT1;
150 void array__ArrayMap__keys_61d(val* self, val* p0);
151 extern const int COLOR_array__ArrayMap___64dvalues;
152 val* array__ArrayMap__values(val* self);
153 extern const int COLOR_array__ArrayMapValuesarray__ArrayMap_FT0array__ArrayMap_FT1;
154 void array__ArrayMap__values_61d(val* self, val* p0);
155 long array__ArrayMap__length(val* self);
156 val* NEW_abstract_collection__CoupleMapIterator(const struct type* type);
157 extern const int COLOR_abstract_collection__CoupleMapIteratorarray__ArrayMap_FT0array__ArrayMap_FT1;
158 extern const int COLOR_abstract_collection__CoupleMapIterator__init;
159 void CHECK_NEW_abstract_collection__CoupleMapIterator(val*);
160 val* array__ArrayMap__iterator(val* self);
161 short int array__ArrayMap__is_empty(val* self);
162 void array__ArrayMap__clear(val* self);
163 void array__ArrayMap__enlarge(val* self, long p0);
164 extern const int COLOR_abstract_collection__CoupleMap_FT0;
165 val* array__ArrayMap__couple_at(val* self, val* p0);
166 void array__ArrayMap__remove_at_index(val* self, long p0);
167 extern const int COLOR_array__ArrayMap_FT0;
168 extern const int COLOR_array__ArrayMap___last_index;
169 extern const int COLOR_abstract_collection__Couple__first;
170 long array__ArrayMap__index(val* self, val* p0);
171 extern const int COLOR_array__Arrayabstract_collection__Couplearray__ArrayMap_FT0array__ArrayMap_FT1;
172 void array__ArrayMap__init(val* self);
173 extern const int COLOR_array__ArrayMapKeys___64dmap;
174 val* array__ArrayMapKeys__map(val* self);
175 extern const int COLOR_array__ArrayMaparray__ArrayMapKeys_FT0array__ArrayMapKeys_FT1;
176 void array__ArrayMapKeys__map_61d(val* self, val* p0);
177 long array__ArrayMapKeys__count(val* self, val* p0);
178 extern const int COLOR_array__ArrayMapKeys__map;
179 val* array__ArrayMapKeys__first(val* self);
180 short int array__ArrayMapKeys__has(val* self, val* p0);
181 short int array__ArrayMapKeys__has_only(val* self, val* p0);
182 extern const int COLOR_abstract_collection__MapRead__is_empty;
183 short int array__ArrayMapKeys__is_empty(val* self);
184 extern const int COLOR_abstract_collection__MapRead__length;
185 long array__ArrayMapKeys__length(val* self);
186 val* NEW_abstract_collection__MapKeysIterator(const struct type* type);
187 extern const int COLOR_abstract_collection__MapKeysIteratorarray__ArrayMapKeys_FT0array__ArrayMapKeys_FT1;
188 extern const int COLOR_abstract_collection__MapRead__iterator;
189 extern const int COLOR_abstract_collection__MapKeysIterator__init;
190 void CHECK_NEW_abstract_collection__MapKeysIterator(val*);
191 val* array__ArrayMapKeys__iterator(val* self);
192 extern const int COLOR_abstract_collection__Map__clear;
193 void array__ArrayMapKeys__clear(val* self);
194 extern const int COLOR_array__ArrayMap__remove_at_index;
195 void array__ArrayMapKeys__remove(val* self, val* p0);
196 void array__ArrayMapKeys__remove_all(val* self, val* p0);
197 void array__ArrayMapKeys__init(val* self, val* p0);
198 extern const int COLOR_array__ArrayMapValues___64dmap;
199 val* array__ArrayMapValues__map(val* self);
200 extern const int COLOR_array__ArrayMaparray__ArrayMapValues_FT0array__ArrayMapValues_FT1;
201 void array__ArrayMapValues__map_61d(val* self, val* p0);
202 extern const int COLOR_array__ArrayMapValues__map;
203 val* array__ArrayMapValues__first(val* self);
204 short int array__ArrayMapValues__is_empty(val* self);
205 long array__ArrayMapValues__length(val* self);
206 val* NEW_abstract_collection__MapValuesIterator(const struct type* type);
207 extern const int COLOR_abstract_collection__MapValuesIteratorarray__ArrayMapValues_FT0array__ArrayMapValues_FT1;
208 extern const int COLOR_abstract_collection__MapValuesIterator__init;
209 void CHECK_NEW_abstract_collection__MapValuesIterator(val*);
210 val* array__ArrayMapValues__iterator(val* self);
211 short int array__ArrayMapValues__has(val* self, val* p0);
212 short int array__ArrayMapValues__has_only(val* self, val* p0);
213 long array__ArrayMapValues__count(val* self, val* p0);
214 void array__ArrayMapValues__clear(val* self);
215 void array__ArrayMapValues__remove(val* self, val* p0);
216 void array__ArrayMapValues__remove_all(val* self, val* p0);
217 void array__ArrayMapValues__init(val* self, val* p0);
218 extern const int COLOR_array__Arrayabstract_collection__Iterator_FT0;
219 val* array__Iterator__to_a(val* self);
220 extern const int COLOR_array__Iterator__to_a;
221 val* array__Collection__to_a(val* self);
222 val* NEW_array__NativeArray(int length, const struct type* type);
223 extern const int COLOR_array__NativeArrayarray__ArrayCapable_FT0;
224 extern const int COLOR_array__NativeArray_FT0;
225 extern const int COLOR_array__NativeArrayarray__NativeArray_FT0;