MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / Directory_GetCachePath

Function Directory_GetCachePath

src/android/Platform_Android.c:126–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126void Directory_GetCachePath(cc_string* path) {
127 JNIEnv* env;
128 Java_GetCurrentEnv(env);
129
130 jobject obj = Java_ICall_Obj(env, JAVA_getGameCacheDir, NULL);
131 Java_DecodeString(env, obj, path);
132
133 Java_DeleteLocalRef(env, obj);
134}
135
136/* All threads using JNI must detach BEFORE they exit */
137/* (see https://developer.android.com/training/articles/perf-jni#threads */

Callers

nothing calls this directly

Calls 1

Java_DecodeStringFunction · 0.85

Tested by

no test coverage detected