1 #include "nit.common.h"
2 extern const int COLOR_compiler_ffi__AModule___64dforeign_callbacks
;
3 val
* compiler_ffi__AModule__foreign_callbacks(val
* self
);
4 void compiler_ffi__AModule__foreign_callbacks_61d(val
* self
, val
* p0
);
5 extern const int COLOR_compiler_ffi__AModule___64dnitni_ccu
;
6 val
* compiler_ffi__AModule__nitni_ccu(val
* self
);
7 void compiler_ffi__AModule__nitni_ccu_61d(val
* self
, val
* p0
);
8 extern const int COLOR_compiler_ffi__AModule___64duses_legacy_ni
;
9 short int compiler_ffi__AModule__uses_legacy_ni(val
* self
);
10 void compiler_ffi__AModule__uses_legacy_ni_61d(val
* self
, short int p0
);
11 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__compiler
;
12 extern const int COLOR_abstract_compiler__AbstractCompiler__modelbuilder
;
13 extern const int COLOR_abstract_compiler__ModelBuilder__compile_dir
;
14 extern const int COLOR_abstract_compiler__AbstractCompiler__mainmodule
;
15 extern const int COLOR_common_ffi__AModule__finalize_ffi_wrapper
;
16 extern const int COLOR_ffi_base__AModule__ffi_files
;
17 extern const int COLOR_abstract_collection__Collection__iterator
;
18 extern const int COLOR_abstract_collection__Iterator__is_ok
;
19 extern const int COLOR_abstract_collection__Iterator__item
;
20 extern const int COLOR_abstract_compiler__AbstractCompiler__extern_bodies
;
21 extern const int COLOR_abstract_collection__SimpleCollection__add
;
22 extern const int COLOR_abstract_collection__Iterator__next
;
23 void compiler_ffi__AModule__finalize_ffi(val
* self
, val
* p0
, val
* p1
);
24 extern const int COLOR_compiler_ffi__AModule__nitni_ccu
;
25 val
* NEW_c_tools__CCompilationUnit(const struct type
* type
);
26 extern const struct type type_c_tools__CCompilationUnit
;
27 extern const int COLOR_c_tools__CCompilationUnit__init
;
28 extern const int COLOR_compiler_ffi__AModule__nitni_ccu_61d
;
29 void compiler_ffi__AModule__ensure_compile_nitni_base(val
* self
, val
* p0
);
30 extern const int COLOR_compiler_ffi__AModule__ensure_compile_nitni_base
;
31 extern const int COLOR_c_tools__CCompilationUnit__header_c_types
;
32 val
* string__NativeString__to_s_with_length(char* self
, long p0
);
33 extern const int COLOR_modelbuilder__AModule__mmodule
;
34 extern const int COLOR_mmodule__MModule__name
;
35 val
* NEW_array__Array(const struct type
* type
);
36 extern const struct type type_array__Arraykernel__Object
;
37 val
* NEW_array__NativeArray(int length
, const struct type
* type
);
38 extern const struct type type_array__NativeArraykernel__Object
;
39 extern const int COLOR_array__Array__with_native
;
40 extern const int COLOR_string__Object__to_s
;
41 extern const int COLOR_template__Template__add
;
42 extern const int COLOR_compiler_ffi__CCompilationUnit__write_as_nitni
;
43 extern const int COLOR_c_tools__CCompilationUnit__files
;
44 val
* NEW_c__ExternCFile(const struct type
* type
);
45 extern const struct type type_c__ExternCFile
;
46 extern const int COLOR_c__AModule__c_compiler_options
;
47 extern const int COLOR_c__ExternCFile__init
;
48 void compiler_ffi__AModule__finalize_nitni(val
* self
, val
* p0
);
49 extern const int COLOR_compiler_ffi__AModule___64dcompiled_callbacks
;
50 val
* compiler_ffi__AModule__compiled_callbacks(val
* self
);
51 void compiler_ffi__AModule__compiled_callbacks_61d(val
* self
, val
* p0
);
52 extern const int COLOR_compiler_ffi__AModule__compiled_callbacks
;
53 extern const int COLOR_abstract_collection__Collection__has
;
54 short int compiler_ffi__AModule__check_callback_compilation(val
* self
, val
* p0
);
55 extern const int COLOR_modelize_property__APropdef__mpropdef
;
56 extern const int COLOR_model__MPropDef__mclassdef
;
57 extern const int COLOR_model__MClassDef__mmodule
;
58 extern const int COLOR_modelbuilder__ModelBuilder__mmodule2nmodule
;
59 extern const int COLOR_abstract_collection__MapRead___91d_93d
;
60 extern const int COLOR_model__MClassDef__bound_mtype
;
61 extern const int COLOR_model__MPropDef__mproperty
;
62 extern const int COLOR_nitni_utilities__Object__long_signature
;
63 extern const int COLOR_nitni_utilities__Object__internal_call_context
;
64 extern const int COLOR_nitni_utilities__MMethod__build_csignature
;
65 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__declare_once
;
66 extern const int COLOR_common_ffi__AExternPropdef__compile_ffi_method
;
67 extern const int COLOR_nitni_callbacks__AExternPropdef__foreign_callbacks
;
68 extern const int COLOR_nitni_callbacks__ForeignCallbackSet__types
;
69 extern const int COLOR_nitni_base__MType__is_cprimitive
;
70 extern const int COLOR_compiler_ffi__MType__compile_extern_type
;
71 extern const int COLOR_compiler_ffi__AModule__check_callback_compilation
;
72 extern const int COLOR_compiler_ffi__MType__compile_extern_helper_functions
;
73 extern const int COLOR_nitni_callbacks__ForeignCallbackSet__callbacks
;
74 extern const int COLOR_compiler_ffi__MExplicitCall__compile_extern_callback
;
75 extern const int COLOR_nitni_callbacks__ForeignCallbackSet__supers
;
76 extern const int COLOR_compiler_ffi__MExplicitSuper__compile_extern_callback
;
77 extern const int COLOR_nitni_callbacks__ForeignCallbackSet__casts
;
78 extern const int COLOR_compiler_ffi__MExplicitCast__compile_extern_callbacks
;
79 extern const int COLOR_compiler_ffi__AModule__foreign_callbacks
;
80 extern const int COLOR_nitni_callbacks__ForeignCallbackSet__join
;
81 void compiler_ffi__AExternPropdef__compile_ffi_support_to_c(val
* self
, val
* p0
);
82 extern const int COLOR_parser_nodes__AExternPropdef__n_extern
;
83 extern const int COLOR_compiler_ffi__AModule__uses_legacy_ni_61d
;
84 extern const int COLOR_compiler_ffi__AExternMethPropdef__compile_to_c
;
85 extern const int COLOR_common_ffi__MModule__uses_ffi_61d
;
86 extern const int COLOR_nitni_utilities__MMethod__build_cname
;
87 extern const int COLOR_model__MMethodDef__msignature
;
88 extern const int COLOR_model__MSignature__return_mtype
;
89 extern const int COLOR_model__MType__anchor_to
;
90 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__new_var
;
91 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__adapt_signature
;
92 extern const struct type type_array__Arraystring__String
;
93 extern const int COLOR_array__Array__init
;
94 val
* NEW_range__Range(const struct type
* type
);
95 extern const struct type type_range__Rangekernel__Int
;
96 extern const int COLOR_abstract_collection__Collection__length
;
97 val
* BOX_kernel__Int(long);
98 extern const int COLOR_range__Range__without_last
;
99 extern const int COLOR_abstract_collection__SequenceRead___91d_93d
;
100 extern const int COLOR_model__MClassDef__mclass
;
101 extern const int COLOR_model__MClass__mclass_type
;
102 extern const int COLOR_model__MSignature__mparameters
;
103 extern const int COLOR_model__MParameter__mtype
;
104 extern const int COLOR_abstract_compiler__RuntimeVariable__name
;
105 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__add
;
106 extern const int COLOR_string__Collection__join
;
107 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__ret
;
108 extern const int COLOR_compiler_ffi__AExternPropdef__compile_ffi_support_to_c
;
109 void compiler_ffi__AExternMethPropdef__compile_to_c(val
* self
, val
* p0
, val
* p1
, val
* p2
);
110 extern const int COLOR_compiler_ffi__AExternInitPropdef__compile_to_c
;
111 extern const int COLOR_abstract_collection__Collection__first
;
112 extern const int COLOR_abstract_compiler__RuntimeVariable__mtype
;
113 extern const int COLOR_abstract_collection__Sequence__shift
;
114 void compiler_ffi__AExternInitPropdef__compile_to_c(val
* self
, val
* p0
, val
* p1
, val
* p2
);
115 extern const int COLOR_array__Array__with_capacity
;
116 extern const int COLOR_nitni_base__AModule__cname
;
117 extern const int COLOR_string__AbstractString__to_upper
;
118 extern const int COLOR_ffi_base__CCompilationUnit__write_header_to_file
;
119 extern const struct type type_array__NativeArraystring__String
;
120 extern const int COLOR_ffi_base__CCompilationUnit__write_body_to_file
;
121 void compiler_ffi__CCompilationUnit__write_as_nitni(val
* self
, val
* p0
, val
* p1
);
122 val
* NEW_abstract_compiler__RuntimeVariable(const struct type
* type
);
123 extern const struct type type_abstract_compiler__RuntimeVariable
;
124 extern const int COLOR_abstract_compiler__RuntimeVariable__init
;
125 val
* compiler_ffi__AbstractCompilerVisitor__var_from_c(val
* self
, val
* p0
, val
* p1
);
126 void compiler_ffi__AbstractCompilerVisitor__ret_to_c(val
* self
, val
* p0
, val
* p1
);
127 extern const int COLOR_nitni_base__MType__cname
;
128 void compiler_ffi__MType__compile_extern_type(val
* self
, val
* p0
, val
* p1
);
129 extern const int COLOR_abstract_compiler__AbstractCompiler__new_visitor
;
130 extern const int COLOR_c_tools__CCompilationUnit__header_decl
;
131 extern const int COLOR_nitni_base__MType__mangled_cname
;
132 void compiler_ffi__MType__compile_extern_helper_functions(val
* self
, val
* p0
, val
* p1
);
133 extern const int COLOR_compiler_ffi__MNullableType__compile_extern_helper_functions
;
134 extern const int COLOR_model__MNullableType__mtype
;
135 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__frame
;
136 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__frame_61d
;
137 extern const int COLOR_nitni_base__MType__cname_blind
;
138 void compiler_ffi__MNullableType__compile_extern_helper_functions(val
* self
, val
* p0
, val
* p1
);
139 extern const int COLOR_nitni_callbacks__MExplicitCall__mproperty
;
140 extern const struct type type_model__MMethod
;
141 extern const int COLOR_nitni_callbacks__MExplicitCall__recv_mtype
;
142 extern const int COLOR_model__MProperty__lookup_first_definition
;
143 extern const int COLOR_model__MProperty__full_name
;
144 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__add_decl
;
145 extern const struct type type_array__Arrayabstract_compiler__RuntimeVariable
;
146 extern const int COLOR_model__MMethod__is_init
;
147 extern const int COLOR_model__MClassType__mclass
;
148 extern const int COLOR_model__MClass__kind
;
149 extern const int COLOR_model__Object__extern_kind
;
150 extern const int COLOR_kernel__Object___61d_61d
;
151 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__init_instance
;
152 extern const int COLOR_abstract_compiler__MType__ctype
;
153 extern const int COLOR_compiler_ffi__AbstractCompilerVisitor__var_from_c
;
154 extern const int COLOR_model__MParameter__name
;
155 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__send
;
156 extern const int COLOR_kernel__Object___33d_61d
;
157 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__autobox
;
158 extern const int COLOR_compiler_ffi__AbstractCompilerVisitor__ret_to_c
;
159 void compiler_ffi__MExplicitCall__compile_extern_callback(val
* self
, val
* p0
, val
* p1
);
160 extern const int COLOR_nitni_callbacks__MExplicitSuper__from
;
161 extern const int COLOR_nitni_utilities__Object__short_signature
;
162 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__anchor
;
163 extern const struct type type_model__MMethodDef
;
164 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__supercall
;
165 void compiler_ffi__MExplicitSuper__compile_extern_callback(val
* self
, val
* p0
, val
* p1
);
166 extern const int COLOR_nitni_callbacks__MExplicitCast__from
;
167 extern const int COLOR_nitni_callbacks__MExplicitCast__to
;
168 extern const int COLOR_nitni_callbacks__MExplicitCast__check_cname
;
169 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__type_test
;
170 extern const int COLOR_model__MType__as_nullable
;
171 extern const int COLOR_nitni_callbacks__MExplicitCast__cast_cname
;
172 extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__add_abort
;
173 void compiler_ffi__MExplicitCast__compile_extern_callbacks(val
* self
, val
* p0
, val
* p1
);