File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -138,11 +138,11 @@ namespace Swig {
138
138
}
139
139
140
140
#if defined(SWIG_JAVA_DETACH_ON_THREAD_END)
141
- static void detach(void* jvm) {
142
- static_cast<JavaVM*>(jvm)->DetachCurrentThread();
141
+ static void detach(void * jvm) {
142
+ static_cast<JavaVM *>(jvm)->DetachCurrentThread();
143
143
}
144
144
145
- static void makeDetachKey () {
145
+ static void make_detach_key () {
146
146
pthread_key_create(&detach_key_, detach);
147
147
}
148
148
@@ -229,7 +229,7 @@ namespace Swig {
229
229
// See https://developer.android.com/training/articles/perf-jni#threads
230
230
static pthread_once_t once = PTHREAD_ONCE_INIT;
231
231
232
- pthread_once(&once, JObjectWrapper::makeDetachKey );
232
+ pthread_once(&once, JObjectWrapper::make_detach_key );
233
233
pthread_setspecific(JObjectWrapper::detach_key_, director->swig_jvm_);
234
234
#endif
235
235
}
You can’t perform that action at this time.
0 commit comments