@@ -15,14 +15,14 @@ monodroid_get_log_categories ()
15
15
int
16
16
monodroid_get_system_property (const char *name, char **value)
17
17
{
18
- return AndroidSystem::monodroid_get_system_property (name, value);
18
+ return AndroidSystem::monodroid_get_system_property (name, value);
19
19
}
20
20
21
21
int
22
22
monodroid_embedded_assemblies_set_assemblies_prefix (const char *prefix)
23
23
{
24
- embeddedAssemblies.set_assemblies_prefix (prefix);
25
- return 0 ;
24
+ embeddedAssemblies.set_assemblies_prefix (prefix);
25
+ return 0 ;
26
26
}
27
27
28
28
void
@@ -62,13 +62,13 @@ monodroid_log (LogLevel level, LogCategories category, const char *message)
62
62
void
63
63
monodroid_free (void *ptr)
64
64
{
65
- free (ptr);
65
+ free (ptr);
66
66
}
67
67
68
68
int
69
69
_monodroid_max_gref_get ()
70
70
{
71
- return static_cast <int >(AndroidSystem::get_max_gref_count ());
71
+ return static_cast <int >(AndroidSystem::get_max_gref_count ());
72
72
}
73
73
74
74
int
@@ -81,19 +81,19 @@ _monodroid_gref_get ()
81
81
void
82
82
_monodroid_gref_log (const char *message)
83
83
{
84
- osBridge._monodroid_gref_log (message);
84
+ osBridge._monodroid_gref_log (message);
85
85
}
86
86
87
87
int
88
88
_monodroid_gref_log_new (jobject curHandle, char curType, jobject newHandle, char newType, const char *threadName, int threadId, const char *from, int from_writable)
89
89
{
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);
91
91
}
92
92
93
93
void
94
94
_monodroid_gref_log_delete (jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
95
95
{
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);
97
97
}
98
98
99
99
int
@@ -105,50 +105,50 @@ _monodroid_weak_gref_get ()
105
105
void
106
106
_monodroid_weak_gref_new (jobject curHandle, char curType, jobject newHandle, char newType, const char *threadName, int threadId, const char *from, int from_writable)
107
107
{
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);
109
109
}
110
110
111
111
void
112
112
_monodroid_weak_gref_delete (jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
113
113
{
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);
115
115
}
116
116
117
117
void
118
118
_monodroid_lref_log_new (int lrefc, jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
119
119
{
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);
121
121
}
122
122
123
123
void
124
124
_monodroid_lref_log_delete (int lrefc, jobject handle, char type, const char *threadName, int threadId, const char *from, int from_writable)
125
125
{
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);
127
127
}
128
128
129
129
void
130
130
_monodroid_gc_wait_for_bridge_processing ()
131
131
{
132
- mono_gc_wait_for_bridge_processing ();
132
+ mono_gc_wait_for_bridge_processing ();
133
133
}
134
134
135
135
int
136
136
_monodroid_get_android_api_level ()
137
137
{
138
- return monodroidRuntime.get_android_api_level ();
138
+ return monodroidRuntime.get_android_api_level ();
139
139
}
140
140
141
141
void
142
142
monodroid_clear_gdb_wait ()
143
143
{
144
- monodroidRuntime.set_monodroid_gdb_wait (false );
144
+ monodroidRuntime.set_monodroid_gdb_wait (false );
145
145
}
146
146
147
147
void *
148
148
_monodroid_get_identity_hash_code (JNIEnv *env, void *v)
149
149
{
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;
152
152
}
153
153
154
154
void *
@@ -306,7 +306,7 @@ monodroid_dylib_mono_free ([[maybe_unused]] void *mono_imports)
306
306
https://github.com/dotnet/java-interop/blob/master/src/java-interop/java-interop-gc-bridge-mono.c#L266
307
307
308
308
it should also accept libmono_path = nullptr parameter
309
- */
309
+ */
310
310
int
311
311
monodroid_dylib_mono_init (void *mono_imports, [[maybe_unused]] const char *libmono_path)
312
312
{
0 commit comments