@@ -15,32 +15,14 @@ monodroid_get_log_categories ()
1515int
1616monodroid_get_system_property (const char *name, char **value)
1717{
18- <<<<<<< HEAD
19- <<<<<<< HEAD
2018 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)
2719}
2820
2921int
3022monodroid_embedded_assemblies_set_assemblies_prefix (const char *prefix)
3123{
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- =======
4124 embeddedAssemblies.set_assemblies_prefix (prefix);
4225 return 0 ;
43- >>>>>>> 87926b42b (Formatting)
4426}
4527
4628void
@@ -80,29 +62,13 @@ monodroid_log (LogLevel level, LogCategories category, const char *message)
8062void
8163monodroid_free (void *ptr)
8264{
83- <<<<<<< HEAD
84- <<<<<<< HEAD
8565 free (ptr);
86- =======
87- free (ptr);
88- >>>>>>> 13ba4b152 (Let' s see what breaks)
89- =======
90- free (ptr);
91- >>>>>>> 87926b42b (Formatting)
9266}
9367
9468int
9569_monodroid_max_gref_get ()
9670{
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- =======
10471 return static_cast <int >(AndroidSystem::get_max_gref_count ());
105- >>>>>>> 87926b42b (Formatting)
10672}
10773
10874int
@@ -115,43 +81,19 @@ _monodroid_gref_get ()
11581void
11682_monodroid_gref_log (const char *message)
11783{
118- <<<<<<< HEAD
119- <<<<<<< HEAD
12084 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)
12785}
12886
12987int
13088_monodroid_gref_log_new (jobject curHandle, char curType, jobject newHandle, char newType, const char *threadName, int threadId, const char *from, int from_writable)
13189{
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- =======
13990 return osBridge._monodroid_gref_log_new (curHandle, curType, newHandle, newType, threadName, threadId, from, from_writable);
140- >>>>>>> 87926b42b (Formatting)
14191}
14292
14393void
14494_monodroid_gref_log_delete (jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
14595{
146- <<<<<<< HEAD
147- <<<<<<< HEAD
14896 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)
15597}
15698
15799int
@@ -163,116 +105,50 @@ _monodroid_weak_gref_get ()
163105void
164106_monodroid_weak_gref_new (jobject curHandle, char curType, jobject newHandle, char newType, const char *threadName, int threadId, const char *from, int from_writable)
165107{
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- =======
173108 osBridge._monodroid_weak_gref_new (curHandle, curType, newHandle, newType, threadName, threadId, from, from_writable);
174- >>>>>>> 87926b42b (Formatting)
175109}
176110
177111void
178112_monodroid_weak_gref_delete (jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
179113{
180- <<<<<<< HEAD
181- <<<<<<< HEAD
182114 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)
189115}
190116
191117void
192118_monodroid_lref_log_new (int lrefc, jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
193119{
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- =======
201120 osBridge._monodroid_lref_log_new (lrefc, handle, type, threadName, threadId, from, from_writable);
202- >>>>>>> 87926b42b (Formatting)
203121}
204122
205123void
206124_monodroid_lref_log_delete (int lrefc, jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
207125{
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- =======
215126 osBridge._monodroid_lref_log_delete (lrefc, handle, type, threadName, threadId, from, from_writable);
216- >>>>>>> 87926b42b (Formatting)
217127}
218128
219129void
220130_monodroid_gc_wait_for_bridge_processing ()
221131{
222- <<<<<<< HEAD
223- <<<<<<< HEAD
224132 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)
231133}
232134
233135int
234136_monodroid_get_android_api_level ()
235137{
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- =======
243138 return monodroidRuntime.get_android_api_level ();
244- >>>>>>> 87926b42b (Formatting)
245139}
246140
247141void
248142monodroid_clear_gdb_wait ()
249143{
250- <<<<<<< HEAD
251- <<<<<<< HEAD
252144 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)
259145}
260146
261147void *
262148_monodroid_get_identity_hash_code (JNIEnv *env, void *v)
263149{
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- =======
273150 intptr_t rv = env->CallStaticIntMethod (monodroidRuntime.get_java_class_System (), monodroidRuntime.get_java_class_method_System_identityHashCode (), v);
274151 return (void *) rv;
275- >>>>>>> 87926b42b (Formatting)
276152}
277153
278154void *
@@ -430,15 +306,7 @@ monodroid_dylib_mono_free ([[maybe_unused]] void *mono_imports)
430306 https://github.com/dotnet/java-interop/blob/master/src/java-interop/java-interop-gc-bridge-mono.c#L266
431307
432308 it should also accept libmono_path = nullptr parameter
433- <<<<<<< HEAD
434- <<<<<<< HEAD
435- */
436- =======
437- */
438- >>>>>>> 13ba4b152 (Let' s see what breaks)
439- =======
440309 */
441- >>>>>>> 87926b42b (Formatting)
442310int
443311monodroid_dylib_mono_init (void *mono_imports, [[maybe_unused]] const char *libmono_path)
444312{
0 commit comments