| 1199 | } |
| 1200 | |
| 1201 | MMKV_JNI jlong importFrom(JNIEnv *env, jobject instance, jlong handle, jlong srcHandle) { |
| 1202 | MMKV *kv = reinterpret_cast<MMKV *>(handle); |
| 1203 | MMKV *src = reinterpret_cast<MMKV *>(srcHandle); |
| 1204 | if (kv && src) { |
| 1205 | jlong size = kv->importFrom(src); |
| 1206 | return size; |
| 1207 | } |
| 1208 | return 0; |
| 1209 | } |
| 1210 | |
| 1211 | } // namespace mmkv |
| 1212 |
nothing calls this directly
no test coverage detected