| 649 | } |
| 650 | |
| 651 | MMKV_EXPORT bool enableCompareBeforeSet(void *handle) { |
| 652 | MMKV *kv = static_cast<MMKV *>(handle); |
| 653 | if (kv) { |
| 654 | return kv->enableCompareBeforeSet(); |
| 655 | } |
| 656 | return false; |
| 657 | } |
| 658 | |
| 659 | MMKV_EXPORT bool disableCompareBeforeSet(void *handle) { |
| 660 | MMKV *kv = static_cast<MMKV *>(handle); |
nothing calls this directly
no test coverage detected