Skip to content

Commit f535372

Browse files
committed
Formatting
1 parent 57c1c00 commit f535372

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

src/native/monodroid/internal-pinvokes.cc

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,32 @@ monodroid_get_log_categories ()
1515
int
1616
monodroid_get_system_property (const char *name, char **value)
1717
{
18+
<<<<<<< HEAD
1819
<<<<<<< HEAD
1920
return AndroidSystem::monodroid_get_system_property (name, value);
2021
=======
2122
return AndroidSystem::monodroid_get_system_property (name, value);
2223
>>>>>>> 13ba4b152 (Let's see what breaks)
24+
=======
25+
return AndroidSystem::monodroid_get_system_property (name, value);
26+
>>>>>>> 87926b42b (Formatting)
2327
}
2428
2529
int
2630
monodroid_embedded_assemblies_set_assemblies_prefix (const char *prefix)
2731
{
32+
<<<<<<< HEAD
2833
<<<<<<< HEAD
2934
embeddedAssemblies.set_assemblies_prefix (prefix);
3035
return 0;
3136
=======
3237
embeddedAssemblies.set_assemblies_prefix (prefix);
3338
return 0;
3439
>>>>>>> 13ba4b152 (Let's see what breaks)
40+
=======
41+
embeddedAssemblies.set_assemblies_prefix (prefix);
42+
return 0;
43+
>>>>>>> 87926b42b (Formatting)
3544
}
3645

3746
void
@@ -71,21 +80,29 @@ monodroid_log (LogLevel level, LogCategories category, const char *message)
7180
void
7281
monodroid_free (void *ptr)
7382
{
83+
<<<<<<< HEAD
7484
<<<<<<< HEAD
7585
free (ptr);
7686
=======
7787
free (ptr);
7888
>>>>>>> 13ba4b152 (Let's see what breaks)
89+
=======
90+
free (ptr);
91+
>>>>>>> 87926b42b (Formatting)
7992
}
8093
8194
int
8295
_monodroid_max_gref_get ()
8396
{
97+
<<<<<<< HEAD
8498
<<<<<<< HEAD
8599
return static_cast<int>(AndroidSystem::get_max_gref_count ());
86100
=======
87101
return static_cast<int>(AndroidSystem::get_max_gref_count ());
88102
>>>>>>> 13ba4b152 (Let's see what breaks)
103+
=======
104+
return static_cast<int>(AndroidSystem::get_max_gref_count ());
105+
>>>>>>> 87926b42b (Formatting)
89106
}
90107

91108
int
@@ -98,31 +115,43 @@ _monodroid_gref_get ()
98115
void
99116
_monodroid_gref_log (const char *message)
100117
{
118+
<<<<<<< HEAD
101119
<<<<<<< HEAD
102120
osBridge._monodroid_gref_log (message);
103121
=======
104122
osBridge._monodroid_gref_log (message);
105123
>>>>>>> 13ba4b152 (Let's see what breaks)
124+
=======
125+
osBridge._monodroid_gref_log (message);
126+
>>>>>>> 87926b42b (Formatting)
106127
}
107128
108129
int
109130
_monodroid_gref_log_new (jobject curHandle, char curType, jobject newHandle, char newType, const char *threadName, int threadId, const char *from, int from_writable)
110131
{
132+
<<<<<<< HEAD
111133
<<<<<<< HEAD
112134
return osBridge._monodroid_gref_log_new (curHandle, curType, newHandle, newType, threadName, threadId, from, from_writable);
113135
=======
114136
return osBridge._monodroid_gref_log_new (curHandle, curType, newHandle, newType, threadName, threadId, from, from_writable);
115137
>>>>>>> 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)
116141
}
117142

118143
void
119144
_monodroid_gref_log_delete (jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
120145
{
146+
<<<<<<< HEAD
121147
<<<<<<< HEAD
122148
osBridge._monodroid_gref_log_delete (handle, type, threadName, threadId, from, from_writable);
123149
=======
124150
osBridge._monodroid_gref_log_delete (handle, type, threadName, threadId, from, from_writable);
125151
>>>>>>> 13ba4b152 (Let's see what breaks)
152+
=======
153+
osBridge._monodroid_gref_log_delete (handle, type, threadName, threadId, from, from_writable);
154+
>>>>>>> 87926b42b (Formatting)
126155
}
127156
128157
int
@@ -134,83 +163,116 @@ _monodroid_weak_gref_get ()
134163
void
135164
_monodroid_weak_gref_new (jobject curHandle, char curType, jobject newHandle, char newType, const char *threadName, int threadId, const char *from, int from_writable)
136165
{
166+
<<<<<<< HEAD
137167
<<<<<<< HEAD
138168
osBridge._monodroid_weak_gref_new (curHandle, curType, newHandle, newType, threadName, threadId, from, from_writable);
139169
=======
140170
osBridge._monodroid_weak_gref_new (curHandle, curType, newHandle, newType, threadName, threadId, from, from_writable);
141171
>>>>>>> 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)
142175
}
143176

144177
void
145178
_monodroid_weak_gref_delete (jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
146179
{
180+
<<<<<<< HEAD
147181
<<<<<<< HEAD
148182
osBridge._monodroid_weak_gref_delete (handle, type, threadName, threadId, from, from_writable);
149183
=======
150184
osBridge._monodroid_weak_gref_delete (handle, type, threadName, threadId, from, from_writable);
151185
>>>>>>> 13ba4b152 (Let's see what breaks)
186+
=======
187+
osBridge._monodroid_weak_gref_delete (handle, type, threadName, threadId, from, from_writable);
188+
>>>>>>> 87926b42b (Formatting)
152189
}
153190
154191
void
155192
_monodroid_lref_log_new (int lrefc, jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
156193
{
194+
<<<<<<< HEAD
157195
<<<<<<< HEAD
158196
osBridge._monodroid_lref_log_new (lrefc, handle, type, threadName, threadId, from, from_writable);
159197
=======
160198
osBridge._monodroid_lref_log_new (lrefc, handle, type, threadName, threadId, from, from_writable);
161199
>>>>>>> 13ba4b152 (Let's see what breaks)
200+
=======
201+
osBridge._monodroid_lref_log_new (lrefc, handle, type, threadName, threadId, from, from_writable);
202+
>>>>>>> 87926b42b (Formatting)
162203
}
163204

164205
void
165206
_monodroid_lref_log_delete (int lrefc, jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
166207
{
208+
<<<<<<< HEAD
167209
<<<<<<< HEAD
168210
osBridge._monodroid_lref_log_delete (lrefc, handle, type, threadName, threadId, from, from_writable);
169211
=======
170212
osBridge._monodroid_lref_log_delete (lrefc, handle, type, threadName, threadId, from, from_writable);
171213
>>>>>>> 13ba4b152 (Let's see what breaks)
214+
=======
215+
osBridge._monodroid_lref_log_delete (lrefc, handle, type, threadName, threadId, from, from_writable);
216+
>>>>>>> 87926b42b (Formatting)
172217
}
173218
174219
void
175220
_monodroid_gc_wait_for_bridge_processing ()
176221
{
222+
<<<<<<< HEAD
177223
<<<<<<< HEAD
178224
mono_gc_wait_for_bridge_processing ();
179225
=======
180226
mono_gc_wait_for_bridge_processing ();
181227
>>>>>>> 13ba4b152 (Let's see what breaks)
228+
=======
229+
mono_gc_wait_for_bridge_processing ();
230+
>>>>>>> 87926b42b (Formatting)
182231
}
183232

184233
int
185234
_monodroid_get_android_api_level ()
186235
{
236+
<<<<<<< HEAD
187237
<<<<<<< HEAD
188238
return monodroidRuntime.get_android_api_level ();
189239
=======
190240
return monodroidRuntime.get_android_api_level ();
191241
>>>>>>> 13ba4b152 (Let's see what breaks)
242+
=======
243+
return monodroidRuntime.get_android_api_level ();
244+
>>>>>>> 87926b42b (Formatting)
192245
}
193246
194247
void
195248
monodroid_clear_gdb_wait ()
196249
{
250+
<<<<<<< HEAD
197251
<<<<<<< HEAD
198252
monodroidRuntime.set_monodroid_gdb_wait (false);
199253
=======
200254
monodroidRuntime.set_monodroid_gdb_wait (false);
201255
>>>>>>> 13ba4b152 (Let's see what breaks)
256+
=======
257+
monodroidRuntime.set_monodroid_gdb_wait (false);
258+
>>>>>>> 87926b42b (Formatting)
202259
}
203260

204261
void*
205262
_monodroid_get_identity_hash_code (JNIEnv *env, void *v)
206263
{
264+
<<<<<<< HEAD
207265
<<<<<<< HEAD
208266
intptr_t rv = env->CallStaticIntMethod (monodroidRuntime.get_java_class_System (), monodroidRuntime.get_java_class_method_System_identityHashCode (), v);
209267
return (void*) rv;
210268
=======
211269
intptr_t rv = env->CallStaticIntMethod (monodroidRuntime.get_java_class_System (), monodroidRuntime.get_java_class_method_System_identityHashCode (), v);
212270
return (void*) rv;
213271
>>>>>>> 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)
214276
}
215277
216278
void*
@@ -368,11 +430,15 @@ monodroid_dylib_mono_free ([[maybe_unused]] void *mono_imports)
368430
https://github.com/dotnet/java-interop/blob/master/src/java-interop/java-interop-gc-bridge-mono.c#L266
369431
370432
it should also accept libmono_path = nullptr parameter
433+
<<<<<<< HEAD
371434
<<<<<<< HEAD
372435
*/
373436
=======
374437
*/
375438
>>>>>>> 13ba4b152 (Let's see what breaks)
439+
=======
440+
*/
441+
>>>>>>> 87926b42b (Formatting)
376442
int
377443
monodroid_dylib_mono_init (void *mono_imports, [[maybe_unused]] const char *libmono_path)
378444
{

0 commit comments

Comments
 (0)