Skip to content

Commit 87926b4

Browse files
committed
Formatting
1 parent a67d780 commit 87926b4

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/native/monodroid/internal-pinvokes.cc

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ monodroid_get_log_categories ()
1515
int
1616
monodroid_get_system_property (const char *name, char **value)
1717
{
18-
return AndroidSystem::monodroid_get_system_property (name, value);
18+
return AndroidSystem::monodroid_get_system_property (name, value);
1919
}
2020

2121
int
2222
monodroid_embedded_assemblies_set_assemblies_prefix (const char *prefix)
2323
{
24-
embeddedAssemblies.set_assemblies_prefix (prefix);
25-
return 0;
24+
embeddedAssemblies.set_assemblies_prefix (prefix);
25+
return 0;
2626
}
2727

2828
void
@@ -62,13 +62,13 @@ monodroid_log (LogLevel level, LogCategories category, const char *message)
6262
void
6363
monodroid_free (void *ptr)
6464
{
65-
free (ptr);
65+
free (ptr);
6666
}
6767

6868
int
6969
_monodroid_max_gref_get ()
7070
{
71-
return static_cast<int>(AndroidSystem::get_max_gref_count ());
71+
return static_cast<int>(AndroidSystem::get_max_gref_count ());
7272
}
7373

7474
int
@@ -81,19 +81,19 @@ _monodroid_gref_get ()
8181
void
8282
_monodroid_gref_log (const char *message)
8383
{
84-
osBridge._monodroid_gref_log (message);
84+
osBridge._monodroid_gref_log (message);
8585
}
8686

8787
int
8888
_monodroid_gref_log_new (jobject curHandle, char curType, jobject newHandle, char newType, const char *threadName, int threadId, const char *from, int from_writable)
8989
{
90-
return osBridge._monodroid_gref_log_new (curHandle, curType, newHandle, newType, threadName, threadId, from, from_writable);
90+
return osBridge._monodroid_gref_log_new (curHandle, curType, newHandle, newType, threadName, threadId, from, from_writable);
9191
}
9292

9393
void
9494
_monodroid_gref_log_delete (jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
9595
{
96-
osBridge._monodroid_gref_log_delete (handle, type, threadName, threadId, from, from_writable);
96+
osBridge._monodroid_gref_log_delete (handle, type, threadName, threadId, from, from_writable);
9797
}
9898

9999
int
@@ -105,50 +105,50 @@ _monodroid_weak_gref_get ()
105105
void
106106
_monodroid_weak_gref_new (jobject curHandle, char curType, jobject newHandle, char newType, const char *threadName, int threadId, const char *from, int from_writable)
107107
{
108-
osBridge._monodroid_weak_gref_new (curHandle, curType, newHandle, newType, threadName, threadId, from, from_writable);
108+
osBridge._monodroid_weak_gref_new (curHandle, curType, newHandle, newType, threadName, threadId, from, from_writable);
109109
}
110110

111111
void
112112
_monodroid_weak_gref_delete (jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
113113
{
114-
osBridge._monodroid_weak_gref_delete (handle, type, threadName, threadId, from, from_writable);
114+
osBridge._monodroid_weak_gref_delete (handle, type, threadName, threadId, from, from_writable);
115115
}
116116

117117
void
118118
_monodroid_lref_log_new (int lrefc, jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
119119
{
120-
osBridge._monodroid_lref_log_new (lrefc, handle, type, threadName, threadId, from, from_writable);
120+
osBridge._monodroid_lref_log_new (lrefc, handle, type, threadName, threadId, from, from_writable);
121121
}
122122

123123
void
124124
_monodroid_lref_log_delete (int lrefc, jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
125125
{
126-
osBridge._monodroid_lref_log_delete (lrefc, handle, type, threadName, threadId, from, from_writable);
126+
osBridge._monodroid_lref_log_delete (lrefc, handle, type, threadName, threadId, from, from_writable);
127127
}
128128

129129
void
130130
_monodroid_gc_wait_for_bridge_processing ()
131131
{
132-
mono_gc_wait_for_bridge_processing ();
132+
mono_gc_wait_for_bridge_processing ();
133133
}
134134

135135
int
136136
_monodroid_get_android_api_level ()
137137
{
138-
return monodroidRuntime.get_android_api_level ();
138+
return monodroidRuntime.get_android_api_level ();
139139
}
140140

141141
void
142142
monodroid_clear_gdb_wait ()
143143
{
144-
monodroidRuntime.set_monodroid_gdb_wait (false);
144+
monodroidRuntime.set_monodroid_gdb_wait (false);
145145
}
146146

147147
void*
148148
_monodroid_get_identity_hash_code (JNIEnv *env, void *v)
149149
{
150-
intptr_t rv = env->CallStaticIntMethod (monodroidRuntime.get_java_class_System (), monodroidRuntime.get_java_class_method_System_identityHashCode (), v);
151-
return (void*) rv;
150+
intptr_t rv = env->CallStaticIntMethod (monodroidRuntime.get_java_class_System (), monodroidRuntime.get_java_class_method_System_identityHashCode (), v);
151+
return (void*) rv;
152152
}
153153

154154
void*
@@ -306,7 +306,7 @@ monodroid_dylib_mono_free ([[maybe_unused]] void *mono_imports)
306306
https://github.com/dotnet/java-interop/blob/master/src/java-interop/java-interop-gc-bridge-mono.c#L266
307307
308308
it should also accept libmono_path = nullptr parameter
309-
*/
309+
*/
310310
int
311311
monodroid_dylib_mono_init (void *mono_imports, [[maybe_unused]] const char *libmono_path)
312312
{

0 commit comments

Comments
 (0)