MCPcopy Create free account
hub / github.com/Tencent/MMKV / enableCompareBeforeSet

Function enableCompareBeforeSet

Android/MMKV/mmkv/src/main/cpp/native-bridge.cpp:1108–1113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1106}
1107
1108MMKV_JNI void enableCompareBeforeSet(JNIEnv *env, jobject instance) {
1109 MMKV *kv = getMMKV(env, instance);
1110 if (kv) {
1111 kv->enableCompareBeforeSet();
1112 }
1113}
1114
1115MMKV_JNI void disableCompareBeforeSet(JNIEnv *env, jobject instance) {
1116 MMKV *kv = getMMKV(env, instance);

Callers

nothing calls this directly

Calls 2

getMMKVFunction · 0.85

Tested by

no test coverage detected