nitc: fix calling extern constructors from extern code in separate compiler
[nit.git] / c_src / toolcontext.sep.0.h
1 #include "nit.common.h"
2 #define COLOR_toolcontext__Message___location 0
3 #define COLOR_toolcontext__Message___tag 1
4 #define COLOR_toolcontext__Message___text 2
5 #define COLOR_kernel__Comparable_VTOTHER 0
6 short int location__Location___61d_61d(val* self, val* p0);
7 short int location__Location___60d(val* self, val* p0);
8 short int toolcontext__Message___60d(val* self, val* p0);
9 val* string__NativeString__to_s_with_length(char* self, long p0);
10 val* NEW_array__Array(const struct type* type);
11 extern const struct type type_array__Arraykernel__Object;
12 val* NEW_array__NativeArray(int length, const struct type* type);
13 extern const struct type type_array__NativeArraykernel__Object;
14 #define COLOR_array__Array__with_native 74
15 #define COLOR_string__Object__to_s 9
16 val* toolcontext__Message__to_s(val* self);
17 val* BOX_kernel__Char(char);
18 #define COLOR_kernel__Object___61d_61d 2
19 #define COLOR_location__Location___file 0
20 val* location__Location__colored_line(val* self, val* p0);
21 val* toolcontext__Message__to_color_string(val* self);
22 #define COLOR_toolcontext__Message__init 43
23 #define COLOR_toolcontext__ToolContext___error_count 0
24 #define COLOR_toolcontext__ToolContext___warning_count 1
25 #define COLOR_toolcontext__ToolContext___log_directory 2
26 #define COLOR_toolcontext__ToolContext___messages 3
27 #define COLOR_toolcontext__ToolContext___message_sorter 4
28 #define COLOR_array__AbstractArrayRead___length 0
29 extern const struct type type_kernel__Int;
30 void sorter__Comparator__sort(val* self, val* p0);
31 val* array__AbstractArrayRead__iterator(val* self);
32 short int array__ArrayIterator__is_ok(val* self);
33 val* array__ArrayIterator__item(val* self);
34 #define COLOR_toolcontext__ToolContext___opt_no_color 16
35 #define COLOR_opts__Option___value 6
36 #define COLOR_file__Sys___stderr 3
37 void file__OFStream__write(val* self, val* p0);
38 void array__ArrayIterator__next(val* self);
39 void array__AbstractArray__clear(val* self);
40 void toolcontext__ToolContext__errors_info(val* self);
41 void toolcontext__ToolContext__check_errors(val* self);
42 val* BOX_kernel__Int(long);
43 val* NEW_toolcontext__Message(const struct type* type);
44 extern const struct type type_toolcontext__Message;
45 #define COLOR_toolcontext__Message__location_61d 37
46 #define COLOR_toolcontext__Message__tag_61d 39
47 #define COLOR_toolcontext__Message__text_61d 41
48 #define COLOR_kernel__Object__init 7
49 void array__Array__add(val* self, val* p0);
50 #define COLOR_toolcontext__ToolContext___opt_stop_on_first_error 15
51 void toolcontext__ToolContext__error(val* self, val* p0, val* p1);
52 void toolcontext__ToolContext__fatal_error(val* self, val* p0, val* p1);
53 #define COLOR_toolcontext__ToolContext___opt_warning 7
54 short int array__AbstractArrayRead__has(val* self, val* p0);
55 #define COLOR_toolcontext__ToolContext___opt_warn 6
56 extern const struct class class_kernel__Int;
57 void toolcontext__ToolContext__warning(val* self, val* p0, val* p1, val* p2);
58 void toolcontext__ToolContext__advice(val* self, val* p0, val* p1, val* p2);
59 #define COLOR_toolcontext__ToolContext___verbose_level 19
60 void file__Object__print(val* self, val* p0);
61 void toolcontext__ToolContext__info(val* self, val* p0, long p1);
62 #define COLOR_toolcontext__ToolContext___option_context 5
63 #define COLOR_toolcontext__ToolContext___opt_quiet 8
64 #define COLOR_toolcontext__ToolContext___opt_log 9
65 #define COLOR_toolcontext__ToolContext___opt_log_dir 10
66 #define COLOR_toolcontext__ToolContext___opt_help 11
67 #define COLOR_toolcontext__ToolContext___opt_version 12
68 #define COLOR_toolcontext__ToolContext___opt_set_dummy_tool 13
69 #define COLOR_toolcontext__ToolContext___opt_verbose 14
70 #define COLOR_toolcontext__ToolContext___opt_bash_completion 17
71 #define COLOR_toolcontext__ToolContext___opt_stub_man 18
72 extern const struct type type_array__Arrayopts__Option;
73 extern const struct type type_array__NativeArrayopts__Option;
74 void opts__OptionContext__add_option(val* self, val* p0);
75 void toolcontext__ToolContext__init(val* self);
76 #define COLOR_toolcontext__ToolContext___tooldescription 20
77 #define COLOR_toolcontext__ToolContext___accept_no_arguments 21
78 void opts__OptionContext__usage(val* self);
79 void toolcontext__ToolContext__usage(val* self);
80 #define COLOR_opts__Option_VTVALUE 0
81 void opts__OptionContext__parse(val* self, val* p0);
82 val* toolcontext__ToolContext__version(val* self);
83 val* NEW_toolcontext__BashCompletion(const struct type* type);
84 extern const struct type type_toolcontext__BashCompletion;
85 void toolcontext__BashCompletion__init(val* self, val* p0);
86 #define COLOR_file__Sys___stdout 2
87 void template__Template__write_to(val* self, val* p0);
88 val* toolcontext__ToolContext__toolname(val* self);
89 val* string__FlatString__to_upper(val* self);
90 val* string_search__Text__split(val* self, val* p0);
91 val* array__Array___91d_93d(val* self, long p0);
92 #define COLOR_opts__OptionContext___options 0
93 #define COLOR_opts__Option___names 0
94 void file__Object__printn(val* self, val* p0);
95 #define COLOR_opts__Option___helptext 1
96 val* opts__OptionContext__get_errors(val* self);
97 short int array__AbstractArrayRead__is_empty(val* self);
98 #define COLOR_opts__OptionContext___rest 1
99 void file__String__mkdir(val* self);
100 val* toolcontext__ToolContext__compute_nit_dir(val* self);
101 #define COLOR_toolcontext__ToolContext___nit_dir 22
102 void toolcontext__ToolContext__process_options(val* self, val* p0);
103 val* version__Object__nit_version(val* self);
104 val* string__Sys__program_name(val* self);
105 val* file__String__basename(val* self, val* p0);
106 val* environ__String__environ(val* self);
107 short int string__Text__is_empty(val* self);
108 val* file__String__dirname(val* self);
109 short int file__String__file_exists(val* self);
110 val* file__String__simplify_path(val* self);
111 val* file__String__realpath(val* self);
112 val* file__String__join_path(val* self, val* p0);
113 #define COLOR_toolcontext__BashCompletion___toolcontext 4
114 extern const struct type type_array__Arraystring__String;
115 short int string__Text__has_prefix(val* self, val* p0);
116 val* toolcontext__BashCompletion__extract_options_names(val* self);
117 void template__Template__addn(val* self, val* p0);
118 val* string__Collection__join(val* self, val* p0);
119 void toolcontext__BashCompletion__rendering(val* self);