c_src: update for new ffi syntax
[nit.git] / c_src / abstract_compiler.sep.0.h
index ce8b8bf..fb039d3 100644 (file)
@@ -38,6 +38,12 @@ void abstract_compiler__ToolContext__opt_no_check_other_61d(val* self, val* p0);
 extern const int COLOR_abstract_compiler__ToolContext___64dopt_typing_test_metrics;
 val* abstract_compiler__ToolContext__opt_typing_test_metrics(val* self);
 void abstract_compiler__ToolContext__opt_typing_test_metrics_61d(val* self, val* p0);
+extern const int COLOR_abstract_compiler__ToolContext___64dopt_no_stacktrace;
+val* abstract_compiler__ToolContext__opt_no_stacktrace(val* self);
+void abstract_compiler__ToolContext__opt_no_stacktrace_61d(val* self, val* p0);
+extern const int COLOR_abstract_compiler__ToolContext___64dopt_stacktrace;
+val* abstract_compiler__ToolContext__opt_stacktrace(val* self);
+void abstract_compiler__ToolContext__opt_stacktrace_61d(val* self, val* p0);
 extern const int COLOR_abstract_compiler__ToolContext__init;
 extern const int COLOR_toolcontext__ToolContext__option_context;
 extern const int COLOR_abstract_compiler__ToolContext__opt_output;
@@ -51,7 +57,6 @@ extern const struct type type_array__Arrayopts__Option;
 val* NEW_array__NativeArray(int length, const struct type* type);
 extern const struct type type_array__NativeArrayopts__Option;
 extern const int COLOR_array__Array__with_native;
-void CHECK_NEW_array__Array(val*);
 extern const int COLOR_opts__OptionContext__add_option;
 extern const int COLOR_abstract_compiler__ToolContext__opt_no_check_covariance;
 extern const int COLOR_abstract_compiler__ToolContext__opt_no_check_initialization;
@@ -59,6 +64,8 @@ extern const int COLOR_abstract_compiler__ToolContext__opt_no_check_assert;
 extern const int COLOR_abstract_compiler__ToolContext__opt_no_check_autocast;
 extern const int COLOR_abstract_compiler__ToolContext__opt_no_check_other;
 extern const int COLOR_abstract_compiler__ToolContext__opt_typing_test_metrics;
+extern const int COLOR_abstract_compiler__ToolContext__opt_stacktrace;
+extern const int COLOR_abstract_compiler__ToolContext__opt_no_stacktrace;
 void abstract_compiler__ToolContext__init(val* self);
 extern const int COLOR_abstract_compiler__ModelBuilder___64dcc_paths;
 val* abstract_compiler__ModelBuilder__cc_paths(val* self);
@@ -78,8 +85,10 @@ extern const int COLOR_string__Sys__program_name;
 extern const int COLOR_file__String__dirname;
 extern const int COLOR_file__String__simplify_path;
 extern const int COLOR_toolcontext__ToolContext__error;
-extern const int COLOR_abstract_compiler__ToolContext__opt_cc_path;
 extern const int COLOR_opts__Option__value;
+extern const int COLOR_file__Object__print;
+extern const int COLOR_kernel__Object__exit;
+extern const int COLOR_abstract_compiler__ToolContext__opt_cc_path;
 extern const int COLOR_abstract_collection__Sequence__append;
 extern const int COLOR_string_search__String__split_with;
 void abstract_compiler__ModelBuilder__init(val* self, val* p0, val* p1);
@@ -88,7 +97,8 @@ extern const int COLOR_time__Object__get_time;
 extern const int COLOR_modelbuilder__ModelBuilder__toolcontext;
 extern const int COLOR_toolcontext__ToolContext__info;
 extern const int COLOR_file__String__mkdir;
-extern const int COLOR_model_base__MModule__name;
+extern const int COLOR_abstract_compiler__AbstractCompiler__build_c_to_nit_bindings;
+extern const int COLOR_mmodule__MModule__name;
 extern const int COLOR_file__String__join_path;
 extern const int COLOR_abstract_compiler__AbstractCompiler__header;
 extern const int COLOR_abstract_compiler__CodeWriter__file;
@@ -97,7 +107,6 @@ extern const int COLOR_string__String___43d;
 val* NEW_file__OFStream(const struct type* type);
 extern const struct type type_file__OFStream;
 extern const int COLOR_file__OFStream__open;
-void CHECK_NEW_file__OFStream(val*);
 extern const int COLOR_abstract_compiler__CodeWriter__decl_lines;
 extern const int COLOR_abstract_collection__Collection__iterator;
 extern const int COLOR_abstract_collection__Iterator__is_ok;
@@ -113,7 +122,6 @@ extern const struct type type_array__NativeArraykernel__Object;
 extern const int COLOR_abstract_compiler__CodeFile__required_declarations;
 extern const int COLOR_abstract_compiler__AbstractCompiler__provided_declarations;
 extern const int COLOR_abstract_collection__MapRead__has_key;
-extern const int COLOR_file__Object__print;
 extern const int COLOR_abstract_collection__MapRead___91d_93d;
 extern const int COLOR_abstract_compiler__CodeFile__writers;
 extern const int COLOR_kernel__Object___61d_61d;
@@ -124,7 +132,6 @@ val* NEW_abstract_compiler__ExternCFile(const struct type* type);
 extern const struct type type_abstract_compiler__ExternCFile;
 extern const int COLOR_abstract_collection__Collection__first;
 extern const int COLOR_abstract_compiler__ExternCFile__init;
-void CHECK_NEW_abstract_compiler__ExternCFile(val*);
 extern const int COLOR_abstract_compiler__AbstractCompiler__extern_bodies;
 extern const int COLOR_abstract_compiler__ExternCFile__filename;
 extern const int COLOR_file__String__basename;
@@ -134,6 +141,9 @@ extern const int COLOR_toolcontext__ToolContext__verbose_level;
 extern const int COLOR_exec__Sys__system;
 extern const struct class class_kernel__Int;
 void abstract_compiler__ModelBuilder__write_and_make(val* self, val* p0);
+extern const int COLOR_abstract_compiler__AbstractCompiler___64dnames;
+val* abstract_compiler__AbstractCompiler__names(val* self);
+void abstract_compiler__AbstractCompiler__names_61d(val* self, val* p0);
 extern const int COLOR_abstract_compiler__AbstractCompiler___64dmainmodule;
 val* abstract_compiler__AbstractCompiler__mainmodule(val* self);
 void abstract_compiler__AbstractCompiler__mainmodule_61d(val* self, val* p0);
@@ -152,7 +162,6 @@ void abstract_compiler__AbstractCompiler__init(val* self, val* p0, val* p1);
 val* NEW_abstract_compiler__CodeFile(const struct type* type);
 extern const struct type type_abstract_compiler__CodeFile;
 extern const int COLOR_abstract_compiler__CodeFile__init;
-void CHECK_NEW_abstract_compiler__CodeFile(val*);
 val* abstract_compiler__AbstractCompiler__new_file(val* self, val* p0);
 extern const int COLOR_abstract_compiler__AbstractCompiler___64dfiles;
 val* abstract_compiler__AbstractCompiler__files(val* self);
@@ -166,6 +175,14 @@ void abstract_compiler__AbstractCompiler__provide_declaration(val* self, val* p0
 extern const int COLOR_abstract_compiler__AbstractCompiler___64dprovided_declarations;
 val* abstract_compiler__AbstractCompiler__provided_declarations(val* self);
 void abstract_compiler__AbstractCompiler__provided_declarations_61d(val* self, val* p0);
+extern const int COLOR_abstract_compiler__AbstractCompiler__names;
+extern const int COLOR_abstract_collection__MapRead__keys;
+val* NEW_exec__Process(const struct type* type);
+extern const struct type type_exec__Process;
+extern const struct type type_array__NativeArraystring__String;
+extern const int COLOR_exec__Process__init;
+extern const int COLOR_exec__Process__wait;
+void abstract_compiler__AbstractCompiler__build_c_to_nit_bindings(val* self);
 extern const int COLOR_abstract_compiler__CodeWriter__add_decl;
 extern const int COLOR_abstract_compiler__AbstractCompiler__compile_header_structs;
 void abstract_compiler__AbstractCompiler__compile_header(val* self);
@@ -190,7 +207,6 @@ void abstract_compiler__AbstractCompiler__extern_bodies_61d(val* self, val* p0);
 extern const int COLOR_abstract_compiler__AbstractCompiler___64dseen_extern;
 val* abstract_compiler__AbstractCompiler__seen_extern(val* self);
 void abstract_compiler__AbstractCompiler__seen_extern_61d(val* self, val* p0);
-void abstract_compiler__AbstractCompiler__generate_check_init_instance(val* self, val* p0);
 extern const int COLOR_abstract_compiler__AbstractCompiler_VTVISITOR;
 extern const int COLOR_model__MType__collect_mclassdefs;
 extern const int COLOR_model__MModule__linearize_mclassdefs;
@@ -216,7 +232,6 @@ void abstract_compiler__AbstractCompiler__count_type_test_skipped_61d(val* self,
 val* NEW_hash_collection__HashMap(const struct type* type);
 extern const struct type type_hash_collection__HashMapstring__Stringkernel__Int;
 extern const int COLOR_hash_collection__HashMap__init;
-void CHECK_NEW_hash_collection__HashMap(val*);
 val* abstract_compiler__AbstractCompiler__init_count_type_test_tags(val* self);
 extern const int COLOR_abstract_compiler__AbstractCompiler__init_count_type_test_tags;
 extern const int COLOR_abstract_compiler__AbstractCompiler__count_type_test_resolved;
@@ -272,7 +287,6 @@ val* NEW_abstract_compiler__CodeWriter(const struct type* type);
 extern const struct type type_abstract_compiler__CodeWriter;
 extern const int COLOR_abstract_collection__SequenceRead__last;
 extern const int COLOR_abstract_compiler__CodeWriter__init;
-void CHECK_NEW_abstract_compiler__CodeWriter(val*);
 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__writer_61d;
 void abstract_compiler__AbstractCompilerVisitor__init(val* self, val* p0);
 extern const int COLOR_model__MModule__get_primitive_class;
@@ -290,7 +304,6 @@ extern const int COLOR_model__MSignature__arity;
 val* NEW_range__Range(const struct type* type);
 extern const struct type type_range__Rangekernel__Int;
 extern const int COLOR_range__Range__without_last;
-void CHECK_NEW_range__Range(val*);
 extern const int COLOR_abstract_collection__SequenceRead___91d_93d;
 extern const int COLOR_range__Range__init;
 extern const int COLOR_model__MSignature__mparameters;
@@ -315,7 +328,6 @@ val* NEW_abstract_compiler__RuntimeVariable(const struct type* type);
 extern const struct type type_abstract_compiler__RuntimeVariable;
 extern const int COLOR_abstract_compiler__RuntimeVariable__name;
 extern const int COLOR_abstract_compiler__RuntimeVariable__init;
-void CHECK_NEW_abstract_compiler__RuntimeVariable(val*);
 val* abstract_compiler__AbstractCompilerVisitor__autoadapt(val* self, val* p0, val* p1);
 val* abstract_compiler__AbstractCompilerVisitor__supercall(val* self, val* p0, val* p1, val* p2);
 void abstract_compiler__AbstractCompilerVisitor__adapt_signature(val* self, val* p0, val* p1);
@@ -328,13 +340,14 @@ val* abstract_compiler__AbstractCompilerVisitor__send(val* self, val* p0, val* p
 extern const int COLOR_model__MProperty__lookup_first_definition;
 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__call;
 val* abstract_compiler__AbstractCompilerVisitor__monomorphic_send(val* self, val* p0, val* p1, val* p2);
+extern const int COLOR_model__MPropDef__lookup_next_definition;
+val* abstract_compiler__AbstractCompilerVisitor__monomorphic_super_send(val* self, val* p0, val* p1, val* p2);
 val* abstract_compiler__AbstractCompilerVisitor__isset_attribute(val* self, val* p0, val* p1);
 val* abstract_compiler__AbstractCompilerVisitor__read_attribute(val* self, val* p0, val* p1);
 void abstract_compiler__AbstractCompilerVisitor__write_attribute(val* self, val* p0, val* p1, val* p2);
 extern const struct type type_model__MNullType;
 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__add_abort;
 void abstract_compiler__AbstractCompilerVisitor__check_recv_notnull(val* self, val* p0);
-void abstract_compiler__AbstractCompilerVisitor__check_init_instance(val* self, val* p0, val* p1);
 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor___64dnames;
 val* abstract_compiler__AbstractCompilerVisitor__names(val* self);
 void abstract_compiler__AbstractCompilerVisitor__names_61d(val* self, val* p0);
@@ -585,7 +598,6 @@ extern const int COLOR_parser_nodes__AAttrPropdef__n_expr;
 val* NEW_abstract_compiler__Frame(const struct type* type);
 extern const struct type type_abstract_compiler__Frame;
 extern const int COLOR_abstract_compiler__Frame__init;
-void CHECK_NEW_abstract_compiler__Frame(val*);
 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__frame_61d;
 extern const int COLOR_model__MAttributeDef__static_mtype;
 void abstract_compiler__AAttrPropdef__init_expr(val* self, val* p0, val* p1);
@@ -689,7 +701,6 @@ extern const int COLOR_parser_nodes__ASuperstringExpr__n_exprs;
 extern const struct type type_parser_nodes__AStringFormExpr;
 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__object_type;
 val* abstract_compiler__ASuperstringExpr__expr(val* self, val* p0);
-extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__check_init_instance;
 val* abstract_compiler__ACrangeExpr__expr(val* self, val* p0);
 val* abstract_compiler__AOrangeExpr__expr(val* self, val* p0);
 val* abstract_compiler__ATrueExpr__expr(val* self, val* p0);
@@ -734,7 +745,6 @@ extern const int COLOR_abstract_compiler__MModule__properties_cache;
 val* NEW_hash_collection__HashSet(const struct type* type);
 extern const struct type type_hash_collection__HashSetmodel__MProperty;
 extern const int COLOR_hash_collection__HashSet__init;
-void CHECK_NEW_hash_collection__HashSet(val*);
 extern const struct type type_array__Arraymodel__MClass;
 extern const int COLOR_model__MModule__flatten_mclass_hierarchy;
 extern const int COLOR_model__MClass__in_hierarchy;