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