@@ -15,32 +15,14 @@ monodroid_get_log_categories ()
15
15
int
16
16
monodroid_get_system_property (const char *name, char **value)
17
17
{
18
- <<<<<<< HEAD
19
- <<<<<<< HEAD
20
18
return AndroidSystem::monodroid_get_system_property (name, value);
21
- =======
22
- return AndroidSystem::monodroid_get_system_property (name, value);
23
- >>>>>>> 13ba4b152 (Let' s see what breaks)
24
- =======
25
- return AndroidSystem::monodroid_get_system_property (name, value);
26
- >>>>>>> 87926b42b (Formatting)
27
19
}
28
20
29
21
int
30
22
monodroid_embedded_assemblies_set_assemblies_prefix (const char *prefix)
31
23
{
32
- <<<<<<< HEAD
33
- <<<<<<< HEAD
34
- embeddedAssemblies.set_assemblies_prefix (prefix);
35
- return 0;
36
- =======
37
- embeddedAssemblies.set_assemblies_prefix (prefix);
38
- return 0;
39
- >>>>>>> 13ba4b152 (Let' s see what breaks)
40
- =======
41
24
embeddedAssemblies.set_assemblies_prefix (prefix);
42
25
return 0 ;
43
- >>>>>>> 87926b42b (Formatting)
44
26
}
45
27
46
28
void
@@ -80,29 +62,13 @@ monodroid_log (LogLevel level, LogCategories category, const char *message)
80
62
void
81
63
monodroid_free (void *ptr)
82
64
{
83
- <<<<<<< HEAD
84
- <<<<<<< HEAD
85
65
free (ptr);
86
- =======
87
- free (ptr);
88
- >>>>>>> 13ba4b152 (Let' s see what breaks)
89
- =======
90
- free (ptr);
91
- >>>>>>> 87926b42b (Formatting)
92
66
}
93
67
94
68
int
95
69
_monodroid_max_gref_get ()
96
70
{
97
- <<<<<<< HEAD
98
- <<<<<<< HEAD
99
- return static_cast<int>(AndroidSystem::get_max_gref_count ());
100
- =======
101
- return static_cast<int>(AndroidSystem::get_max_gref_count ());
102
- >>>>>>> 13ba4b152 (Let' s see what breaks)
103
- =======
104
71
return static_cast <int >(AndroidSystem::get_max_gref_count ());
105
- >>>>>>> 87926b42b (Formatting)
106
72
}
107
73
108
74
int
@@ -115,43 +81,19 @@ _monodroid_gref_get ()
115
81
void
116
82
_monodroid_gref_log (const char *message)
117
83
{
118
- <<<<<<< HEAD
119
- <<<<<<< HEAD
120
84
osBridge._monodroid_gref_log (message);
121
- =======
122
- osBridge._monodroid_gref_log (message);
123
- >>>>>>> 13ba4b152 (Let' s see what breaks)
124
- =======
125
- osBridge._monodroid_gref_log (message);
126
- >>>>>>> 87926b42b (Formatting)
127
85
}
128
86
129
87
int
130
88
_monodroid_gref_log_new (jobject curHandle, char curType, jobject newHandle, char newType, const char *threadName, int threadId, const char *from, int from_writable)
131
89
{
132
- <<<<<<< HEAD
133
- <<<<<<< HEAD
134
- return osBridge._monodroid_gref_log_new (curHandle, curType, newHandle, newType, threadName, threadId, from, from_writable);
135
- =======
136
- return osBridge._monodroid_gref_log_new (curHandle, curType, newHandle, newType, threadName, threadId, from, from_writable);
137
- >>>>>>> 13ba4b152 (Let' s see what breaks)
138
- =======
139
90
return osBridge._monodroid_gref_log_new (curHandle, curType, newHandle, newType, threadName, threadId, from, from_writable);
140
- >>>>>>> 87926b42b (Formatting)
141
91
}
142
92
143
93
void
144
94
_monodroid_gref_log_delete (jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
145
95
{
146
- <<<<<<< HEAD
147
- <<<<<<< HEAD
148
96
osBridge._monodroid_gref_log_delete (handle, type, threadName, threadId, from, from_writable);
149
- =======
150
- osBridge._monodroid_gref_log_delete (handle, type, threadName, threadId, from, from_writable);
151
- >>>>>>> 13ba4b152 (Let' s see what breaks)
152
- =======
153
- osBridge._monodroid_gref_log_delete (handle, type, threadName, threadId, from, from_writable);
154
- >>>>>>> 87926b42b (Formatting)
155
97
}
156
98
157
99
int
@@ -163,116 +105,50 @@ _monodroid_weak_gref_get ()
163
105
void
164
106
_monodroid_weak_gref_new (jobject curHandle, char curType, jobject newHandle, char newType, const char *threadName, int threadId, const char *from, int from_writable)
165
107
{
166
- <<<<<<< HEAD
167
- <<<<<<< HEAD
168
- osBridge._monodroid_weak_gref_new (curHandle, curType, newHandle, newType, threadName, threadId, from, from_writable);
169
- =======
170
- osBridge._monodroid_weak_gref_new (curHandle, curType, newHandle, newType, threadName, threadId, from, from_writable);
171
- >>>>>>> 13ba4b152 (Let' s see what breaks)
172
- =======
173
108
osBridge._monodroid_weak_gref_new (curHandle, curType, newHandle, newType, threadName, threadId, from, from_writable);
174
- >>>>>>> 87926b42b (Formatting)
175
109
}
176
110
177
111
void
178
112
_monodroid_weak_gref_delete (jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
179
113
{
180
- <<<<<<< HEAD
181
- <<<<<<< HEAD
182
114
osBridge._monodroid_weak_gref_delete (handle, type, threadName, threadId, from, from_writable);
183
- =======
184
- osBridge._monodroid_weak_gref_delete (handle, type, threadName, threadId, from, from_writable);
185
- >>>>>>> 13ba4b152 (Let' s see what breaks)
186
- =======
187
- osBridge._monodroid_weak_gref_delete (handle, type, threadName, threadId, from, from_writable);
188
- >>>>>>> 87926b42b (Formatting)
189
115
}
190
116
191
117
void
192
118
_monodroid_lref_log_new (int lrefc, jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
193
119
{
194
- <<<<<<< HEAD
195
- <<<<<<< HEAD
196
- osBridge._monodroid_lref_log_new (lrefc, handle, type, threadName, threadId, from, from_writable);
197
- =======
198
- osBridge._monodroid_lref_log_new (lrefc, handle, type, threadName, threadId, from, from_writable);
199
- >>>>>>> 13ba4b152 (Let' s see what breaks)
200
- =======
201
120
osBridge._monodroid_lref_log_new (lrefc, handle, type, threadName, threadId, from, from_writable);
202
- >>>>>>> 87926b42b (Formatting)
203
121
}
204
122
205
123
void
206
124
_monodroid_lref_log_delete (int lrefc, jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
207
125
{
208
- <<<<<<< HEAD
209
- <<<<<<< HEAD
210
- osBridge._monodroid_lref_log_delete (lrefc, handle, type, threadName, threadId, from, from_writable);
211
- =======
212
- osBridge._monodroid_lref_log_delete (lrefc, handle, type, threadName, threadId, from, from_writable);
213
- >>>>>>> 13ba4b152 (Let' s see what breaks)
214
- =======
215
126
osBridge._monodroid_lref_log_delete (lrefc, handle, type, threadName, threadId, from, from_writable);
216
- >>>>>>> 87926b42b (Formatting)
217
127
}
218
128
219
129
void
220
130
_monodroid_gc_wait_for_bridge_processing ()
221
131
{
222
- <<<<<<< HEAD
223
- <<<<<<< HEAD
224
132
mono_gc_wait_for_bridge_processing ();
225
- =======
226
- mono_gc_wait_for_bridge_processing ();
227
- >>>>>>> 13ba4b152 (Let' s see what breaks)
228
- =======
229
- mono_gc_wait_for_bridge_processing ();
230
- >>>>>>> 87926b42b (Formatting)
231
133
}
232
134
233
135
int
234
136
_monodroid_get_android_api_level ()
235
137
{
236
- <<<<<<< HEAD
237
- <<<<<<< HEAD
238
- return monodroidRuntime.get_android_api_level ();
239
- =======
240
- return monodroidRuntime.get_android_api_level ();
241
- >>>>>>> 13ba4b152 (Let' s see what breaks)
242
- =======
243
138
return monodroidRuntime.get_android_api_level ();
244
- >>>>>>> 87926b42b (Formatting)
245
139
}
246
140
247
141
void
248
142
monodroid_clear_gdb_wait ()
249
143
{
250
- <<<<<<< HEAD
251
- <<<<<<< HEAD
252
144
monodroidRuntime.set_monodroid_gdb_wait (false );
253
- =======
254
- monodroidRuntime.set_monodroid_gdb_wait (false);
255
- >>>>>>> 13ba4b152 (Let' s see what breaks)
256
- =======
257
- monodroidRuntime.set_monodroid_gdb_wait (false );
258
- >>>>>>> 87926b42b (Formatting)
259
145
}
260
146
261
147
void *
262
148
_monodroid_get_identity_hash_code (JNIEnv *env, void *v)
263
149
{
264
- <<<<<<< HEAD
265
- <<<<<<< HEAD
266
- intptr_t rv = env->CallStaticIntMethod (monodroidRuntime.get_java_class_System (), monodroidRuntime.get_java_class_method_System_identityHashCode (), v);
267
- return (void *) rv;
268
- =======
269
- intptr_t rv = env->CallStaticIntMethod (monodroidRuntime.get_java_class_System (), monodroidRuntime.get_java_class_method_System_identityHashCode (), v);
270
- return (void *) rv;
271
- >>>>>>> 13ba4b152 (Let' s see what breaks)
272
- =======
273
150
intptr_t rv = env->CallStaticIntMethod (monodroidRuntime.get_java_class_System (), monodroidRuntime.get_java_class_method_System_identityHashCode (), v);
274
151
return (void *) rv;
275
- >>>>>>> 87926b42b (Formatting)
276
152
}
277
153
278
154
void *
@@ -430,15 +306,7 @@ monodroid_dylib_mono_free ([[maybe_unused]] void *mono_imports)
430
306
https://github.com/dotnet/java-interop/blob/master/src/java-interop/java-interop-gc-bridge-mono.c#L266
431
307
432
308
it should also accept libmono_path = nullptr parameter
433
- <<<<<<< HEAD
434
- <<<<<<< HEAD
435
- */
436
- =======
437
- */
438
- >>>>>>> 13ba4b152 (Let' s see what breaks)
439
- =======
440
309
*/
441
- >>>>>>> 87926b42b (Formatting)
442
310
int
443
311
monodroid_dylib_mono_init (void *mono_imports, [[maybe_unused]] const char *libmono_path)
444
312
{
0 commit comments