nitg: fix generated signature for FFI cast
[nit.git] / c_src / modelbuilder.sep.0.h
1 #include "nit.common.h"
2 extern const int COLOR_modelbuilder__ToolContext___64dopt_path;
3 val* modelbuilder__ToolContext__opt_path(val* self);
4 void modelbuilder__ToolContext__opt_path_61d(val* self, val* p0);
5 extern const int COLOR_modelbuilder__ToolContext___64dopt_only_metamodel;
6 val* modelbuilder__ToolContext__opt_only_metamodel(val* self);
7 void modelbuilder__ToolContext__opt_only_metamodel_61d(val* self, val* p0);
8 extern const int COLOR_modelbuilder__ToolContext___64dopt_only_parse;
9 val* modelbuilder__ToolContext__opt_only_parse(val* self);
10 void modelbuilder__ToolContext__opt_only_parse_61d(val* self, val* p0);
11 extern const int COLOR_modelbuilder__ToolContext__init;
12 extern const int COLOR_toolcontext__ToolContext__option_context;
13 extern const int COLOR_modelbuilder__ToolContext__opt_path;
14 extern const int COLOR_modelbuilder__ToolContext__opt_only_parse;
15 extern const int COLOR_modelbuilder__ToolContext__opt_only_metamodel;
16 val* NEW_array__Array(const struct type* type);
17 extern const struct type type_array__Arrayopts__Option;
18 val* NEW_array__NativeArray(int length, const struct type* type);
19 extern const struct type type_array__NativeArrayopts__Option;
20 extern const int COLOR_array__Array__with_native;
21 extern const int COLOR_opts__OptionContext__add_option;
22 void modelbuilder__ToolContext__init(val* self);
23 extern const int COLOR_modelbuilder__ToolContext__modelbuilder_real;
24 val* modelbuilder__ToolContext__modelbuilder(val* self);
25 extern const int COLOR_modelbuilder__ToolContext___64dmodelbuilder_real;
26 val* modelbuilder__ToolContext__modelbuilder_real(val* self);
27 void modelbuilder__ToolContext__modelbuilder_real_61d(val* self, val* p0);
28 extern const int COLOR_phase__ToolContext__phases_list;
29 extern const int COLOR_abstract_collection__Collection__iterator;
30 extern const int COLOR_abstract_collection__Iterator__is_ok;
31 extern const int COLOR_abstract_collection__Iterator__item;
32 extern const int COLOR_modelbuilder__Phase__process_mainmodule;
33 extern const int COLOR_abstract_collection__Iterator__next;
34 void modelbuilder__ToolContext__run_global_phases(val* self, val* p0);
35 void modelbuilder__Phase__process_mainmodule(val* self, val* p0);
36 extern const int COLOR_modelbuilder__ModelBuilder___64dmodel;
37 val* modelbuilder__ModelBuilder__model(val* self);
38 void modelbuilder__ModelBuilder__model_61d(val* self, val* p0);
39 extern const int COLOR_modelbuilder__ModelBuilder___64dtoolcontext;
40 val* modelbuilder__ModelBuilder__toolcontext(val* self);
41 void modelbuilder__ModelBuilder__toolcontext_61d(val* self, val* p0);
42 extern const int COLOR_modelbuilder__ModelBuilder__model;
43 extern const int COLOR_mmodule__Model__mmodules;
44 extern const int COLOR_array__Collection__to_a;
45 extern const int COLOR_mmodule__Model__mmodule_importation_hierarchy;
46 extern const int COLOR_sorter__AbstractSorter__sort;
47 extern const struct type type_array__Arrayparser_nodes__AModule;
48 extern const int COLOR_array__Array__init;
49 extern const int COLOR_modelbuilder__ModelBuilder__mmodule2nmodule;
50 extern const int COLOR_abstract_collection__MapRead___91d_93d;
51 extern const int COLOR_abstract_collection__SimpleCollection__add;
52 extern const int COLOR_modelbuilder__ModelBuilder__toolcontext;
53 extern const int COLOR_phase__ToolContext__run_phases;
54 extern const int COLOR_opts__Option__value;
55 val* string__NativeString__to_s_with_length(char* self, long p0);
56 extern const int COLOR_toolcontext__ToolContext__info;
57 extern const int COLOR_kernel__Object__exit;
58 void modelbuilder__ModelBuilder__run_phases(val* self);
59 extern const int COLOR_modelbuilder__ModelBuilder__model_61d;
60 extern const int COLOR_modelbuilder__ModelBuilder__toolcontext_61d;
61 extern const int COLOR_modelbuilder__ToolContext__modelbuilder_real_61d;
62 extern const int COLOR_modelbuilder__ModelBuilder__paths;
63 extern const int COLOR_abstract_collection__Sequence__append;
64 extern const int COLOR_environ__String__environ;
65 extern const int COLOR_abstract_collection__Collection__is_empty;
66 extern const int COLOR_string_search__String__split_with;
67 extern const struct type type_array__Arraykernel__Object;
68 extern const int COLOR_array__Array__with_capacity;
69 extern const int COLOR_string__Object__to_s;
70 extern const int COLOR_file__String__file_exists;
71 extern const int COLOR_kernel__Object__sys;
72 extern const int COLOR_string__Sys__program_name;
73 extern const int COLOR_file__String__dirname;
74 extern const int COLOR_file__String__simplify_path;
75 void modelbuilder__ModelBuilder__init(val* self, val* p0, val* p1);
76 extern const int COLOR_time__Object__get_time;
77 val* NEW_array__ArraySet(const struct type* type);
78 extern const struct type type_array__ArraySetmmodule__MModule;
79 extern const int COLOR_array__ArraySet__init;
80 extern const int COLOR_modelbuilder__ModelBuilder__load_module;
81 extern const int COLOR_modelbuilder__AModule__mmodule;
82 extern const struct type type_array__NativeArraykernel__Object;
83 extern const int COLOR_toolcontext__ToolContext__check_errors;
84 val* modelbuilder__ModelBuilder__parse(val* self, val* p0);
85 extern const int COLOR_model__Model__get_mclasses_by_name;
86 extern const int COLOR_mmodule__MModule__in_importation;
87 extern const int COLOR_model__MClass__intro_mmodule;
88 extern const int COLOR_poset__POSetElement___60d_61d;
89 extern const int COLOR_model__MClass__visibility;
90 extern const int COLOR_mmodule__MModule__is_visible;
91 extern const int COLOR_model__MClass__full_name;
92 extern const int COLOR_modelbuilder__ModelBuilder__error;
93 val* modelbuilder__ModelBuilder__try_get_mclass_by_name(val* self, val* p0, val* p1, val* p2);
94 extern const int COLOR_model__Model__get_mproperties_by_name;
95 extern const int COLOR_modelbuilder__ModelBuilder__try_get_mproperty_by_name2_cache;
96 extern const int COLOR_more_collections__HashMap3___91d_93d;
97 extern const int COLOR_model__MType__has_mproperty;
98 extern const int COLOR_model__MProperty__intro_mclassdef;
99 extern const int COLOR_model__MClassDef__mmodule;
100 extern const int COLOR_model__MProperty__visibility;
101 extern const int COLOR_model__MClassDef__bound_mtype;
102 extern const int COLOR_model__MType__is_subtype;
103 extern const struct type type_array__Arraymodel__MProperty;
104 extern const int COLOR_model__MProperty__full_name;
105 extern const int COLOR_more_collections__HashMap3___91d_93d_61d;
106 val* modelbuilder__ModelBuilder__try_get_mproperty_by_name2(val* self, val* p0, val* p1, val* p2, val* p3);
107 extern const int COLOR_modelbuilder__ModelBuilder___64dtry_get_mproperty_by_name2_cache;
108 val* modelbuilder__ModelBuilder__try_get_mproperty_by_name2_cache(val* self);
109 void modelbuilder__ModelBuilder__try_get_mproperty_by_name2_cache_61d(val* self, val* p0);
110 extern const int COLOR_modelbuilder__ModelBuilder__try_get_mproperty_by_name2;
111 val* modelbuilder__ModelBuilder__try_get_mproperty_by_name(val* self, val* p0, val* p1, val* p2);
112 extern const int COLOR_modelbuilder__ModelBuilder___64dpaths;
113 val* modelbuilder__ModelBuilder__paths(val* self);
114 void modelbuilder__ModelBuilder__paths_61d(val* self, val* p0);
115 extern const struct type type_array__Arraystring__String;
116 extern const int COLOR_mmodule__MModule__mgroup;
117 extern const int COLOR_mproject__MGroup__filepath;
118 extern const int COLOR_string__AbstractString__has_suffix;
119 extern const int COLOR_string__String___43d;
120 extern const int COLOR_modelbuilder__ModelBuilder__get_mgroup;
121 extern const int COLOR_mproject__MGroup__parent;
122 extern const int COLOR_mproject__MGroup__mproject;
123 extern const int COLOR_mproject__MProject__root;
124 extern const int COLOR_file__String__join_path;
125 extern const int COLOR_abstract_collection__Collection__has;
126 extern const int COLOR_kernel__Object___33d_61d;
127 extern const int COLOR_modelbuilder__ModelBuilder__module_absolute_path;
128 extern const int COLOR_string__Collection__join;
129 val* modelbuilder__ModelBuilder__get_mmodule_by_name(val* self, val* p0, val* p1, val* p2);
130 extern const int COLOR_modelbuilder__ModelBuilder___64didentified_files;
131 val* modelbuilder__ModelBuilder__identified_files(val* self);
132 void modelbuilder__ModelBuilder__identified_files_61d(val* self, val* p0);
133 extern const int COLOR_toolcontext__ToolContext__error;
134 extern const int COLOR_file__String__basename;
135 extern const int COLOR_modelbuilder__ModelBuilder__identified_files;
136 extern const int COLOR_abstract_collection__MapRead__has_key;
137 val* NEW_mproject__MProject(const struct type* type);
138 extern const struct type type_mproject__MProject;
139 extern const int COLOR_mproject__MProject__init;
140 val* NEW_mproject__MGroup(const struct type* type);
141 extern const struct type type_mproject__MGroup;
142 extern const int COLOR_mproject__MGroup__init;
143 extern const int COLOR_mproject__MGroup__filepath_61d;
144 extern const int COLOR_mproject__MProject__root_61d;
145 val* NEW_modelbuilder__ModulePath(const struct type* type);
146 extern const struct type type_modelbuilder__ModulePath;
147 extern const int COLOR_modelbuilder__ModulePath__init;
148 extern const int COLOR_abstract_collection__Map___91d_93d_61d;
149 val* modelbuilder__ModelBuilder__identify_file(val* self, val* p0);
150 extern const int COLOR_modelbuilder__ModelBuilder___64dmgroups;
151 val* modelbuilder__ModelBuilder__mgroups(val* self);
152 void modelbuilder__ModelBuilder__mgroups_61d(val* self, val* p0);
153 extern const int COLOR_modelbuilder__ModelBuilder__mgroups;
154 extern const int COLOR_mproject__MGroup__full_name;
155 val* modelbuilder__ModelBuilder__get_mgroup(val* self, val* p0);
156 extern const int COLOR_file__Object__getcwd;
157 val* modelbuilder__ModelBuilder__module_absolute_path(val* self, val* p0);
158 extern const int COLOR_file__String__file_extension;
159 val* NEW_file__IFStream(const struct type* type);
160 extern const struct type type_file__IFStream;
161 extern const int COLOR_file__IFStream__open;
162 val* NEW_lexer__Lexer(const struct type* type);
163 extern const struct type type_lexer__Lexer;
164 val* NEW_location__SourceFile(const struct type* type);
165 extern const struct type type_location__SourceFile;
166 extern const int COLOR_location__SourceFile__init;
167 extern const int COLOR_lexer__Lexer__init;
168 val* NEW_parser__Parser(const struct type* type);
169 extern const struct type type_parser__Parser;
170 extern const int COLOR_parser__Parser__init;
171 extern const int COLOR_parser__Parser__parse;
172 extern const int COLOR_stream__IOS__close;
173 extern const int COLOR_parser_nodes__Start__n_base;
174 extern const int COLOR_parser_nodes__Start__n_eof;
175 extern const struct type type_parser_nodes__AError;
176 extern const int COLOR_lexer__AError__message;
177 val* modelbuilder__ModelBuilder__load_module_ast(val* self, val* p0);
178 extern const int COLOR_modelbuilder__ModelBuilder__identify_file;
179 extern const int COLOR_modelbuilder__ModulePath__mmodule;
180 extern const int COLOR_modelbuilder__ModelBuilder__load_module_ast;
181 extern const int COLOR_modelbuilder__ModulePath__mgroup;
182 extern const int COLOR_modelbuilder__ModulePath__name;
183 extern const int COLOR_modelbuilder__ModelBuilder__build_a_mmodule;
184 extern const int COLOR_modelbuilder__ModulePath__mmodule_61d;
185 val* modelbuilder__ModelBuilder__load_module(val* self, val* p0);
186 val* NEW_mmodule__MModule(const struct type* type);
187 extern const struct type type_mmodule__MModule;
188 extern const int COLOR_parser_nodes__ANode__location;
189 extern const int COLOR_mmodule__MModule__init;
190 extern const int COLOR_modelbuilder__AModule__mmodule_61d;
191 extern const int COLOR_modelbuilder__ModelBuilder__nmodules;
192 extern const struct type type_array__Arraymmodule__MModule;
193 extern const int COLOR_model_base__Object__intrude_visibility;
194 extern const int COLOR_mmodule__MModule__set_visibility_for;
195 extern const int COLOR_mmodule__MModule__set_imported_mmodules;
196 val* modelbuilder__ModelBuilder__load_rt_module(val* self, val* p0, val* p1, val* p2);
197 extern const int COLOR_parser_nodes__AModule__n_moduledecl;
198 extern const int COLOR_parser_nodes__AModuledecl__n_name;
199 extern const int COLOR_parser_nodes__AModuleName__n_id;
200 extern const int COLOR_parser_nodes__Token__text;
201 extern const int COLOR_modelbuilder__ModelBuilder__build_module_importation;
202 val* modelbuilder__ModelBuilder__build_a_mmodule(val* self, val* p0, val* p1, val* p2);
203 extern const int COLOR_modelbuilder__AModule__is_importation_done;
204 extern const int COLOR_modelbuilder__AModule__is_importation_done_61d;
205 extern const int COLOR_parser_nodes__AModule__n_imports;
206 extern const struct type type_parser_nodes__AStdImport;
207 extern const int COLOR_parser_nodes__AStdImport__n_name;
208 extern const int COLOR_modelbuilder__ModelBuilder__get_mmodule_by_name;
209 extern const int COLOR_modelbuilder__AStdImport__mmodule_61d;
210 extern const int COLOR_parser_nodes__AStdImport__n_visibility;
211 extern const int COLOR_modelbuilder__AVisibility__mvisibility;
212 extern const int COLOR_model_base__Object__protected_visibility;
213 extern const int COLOR_kernel__Object___61d_61d;
214 extern const int COLOR_model_base__Object__public_visibility;
215 void modelbuilder__ModelBuilder__build_module_importation(val* self, val* p0);
216 extern const int COLOR_modelbuilder__ModelBuilder___64dnmodules;
217 val* modelbuilder__ModelBuilder__nmodules(val* self);
218 void modelbuilder__ModelBuilder__nmodules_61d(val* self, val* p0);
219 extern const int COLOR_modelbuilder__ModelBuilder___64dmmodule2nmodule;
220 val* modelbuilder__ModelBuilder__mmodule2nmodule(val* self);
221 void modelbuilder__ModelBuilder__mmodule2nmodule_61d(val* self, val* p0);
222 extern const int COLOR_parser_nodes__ANode__hot_location;
223 void modelbuilder__ModelBuilder__error(val* self, val* p0, val* p1);
224 extern const int COLOR_toolcontext__ToolContext__warning;
225 void modelbuilder__ModelBuilder__warning(val* self, val* p0, val* p1);
226 extern const int COLOR_model__MModule__try_get_primitive_method;
227 extern const int COLOR_toolcontext__ToolContext__fatal_error;
228 val* modelbuilder__ModelBuilder__force_get_primitive_method(val* self, val* p0, val* p1, val* p2, val* p3);
229 extern const int COLOR_modelbuilder__ModulePath___64dname;
230 val* modelbuilder__ModulePath__name(val* self);
231 void modelbuilder__ModulePath__name_61d(val* self, val* p0);
232 extern const int COLOR_modelbuilder__ModulePath___64dfilepath;
233 val* modelbuilder__ModulePath__filepath(val* self);
234 void modelbuilder__ModulePath__filepath_61d(val* self, val* p0);
235 extern const int COLOR_modelbuilder__ModulePath___64dmgroup;
236 val* modelbuilder__ModulePath__mgroup(val* self);
237 void modelbuilder__ModulePath__mgroup_61d(val* self, val* p0);
238 extern const int COLOR_modelbuilder__ModulePath___64dmmodule;
239 val* modelbuilder__ModulePath__mmodule(val* self);
240 void modelbuilder__ModulePath__mmodule_61d(val* self, val* p0);
241 extern const int COLOR_modelbuilder__ModulePath__filepath;
242 val* modelbuilder__ModulePath__to_s(val* self);
243 void modelbuilder__ModulePath__init(val* self, val* p0, val* p1, val* p2);
244 extern const int COLOR_modelbuilder__AStdImport___64dmmodule;
245 val* modelbuilder__AStdImport__mmodule(val* self);
246 void modelbuilder__AStdImport__mmodule_61d(val* self, val* p0);
247 extern const int COLOR_modelbuilder__AModule___64dmmodule;
248 val* modelbuilder__AModule__mmodule(val* self);
249 void modelbuilder__AModule__mmodule_61d(val* self, val* p0);
250 extern const int COLOR_modelbuilder__AModule___64dis_importation_done;
251 short int modelbuilder__AModule__is_importation_done(val* self);
252 void modelbuilder__AModule__is_importation_done_61d(val* self, short int p0);
253 val* modelbuilder__AVisibility__mvisibility(val* self);
254 val* modelbuilder__AIntrudeVisibility__mvisibility(val* self);
255 val* modelbuilder__APublicVisibility__mvisibility(val* self);
256 val* modelbuilder__AProtectedVisibility__mvisibility(val* self);
257 extern const int COLOR_model_base__Object__private_visibility;
258 val* modelbuilder__APrivateVisibility__mvisibility(val* self);