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