| 472 | } |
| 473 | |
| 474 | MMKV_EXPORT uint64_t count(void *handle, bool filterExpire) { |
| 475 | MMKV *kv = static_cast<MMKV *>(handle); |
| 476 | if (kv) { |
| 477 | return kv->count(filterExpire); |
| 478 | } |
| 479 | return 0; |
| 480 | } |
| 481 | |
| 482 | MMKV_EXPORT uint64_t totalSize(void *handle) { |
| 483 | MMKV *kv = static_cast<MMKV *>(handle); |