| 105 | } |
| 106 | |
| 107 | Result StorageManager::Exists(char const* name, bool* exists) |
| 108 | { |
| 109 | if (!exists) { |
| 110 | return Result::InternalError; |
| 111 | } |
| 112 | |
| 113 | auto result = |
| 114 | internal_->exists(internal_, const_cast<char*>(name), reinterpret_cast<bool*>(exists)); |
| 115 | return static_cast<Result>(result); |
| 116 | } |
| 117 | |
| 118 | void StorageManager::Count(std::int32_t* count) |
| 119 | { |