mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-11-15 23:35:15 +01:00
StorageAPI: Update documentation and fix storage test plugin
This commit is contained in:
parent
d9c64bfddd
commit
f871b7f228
@ -703,6 +703,8 @@ namespace WUPSStorageAPI {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Forces a reload of storage data.
|
* @brief Forces a reload of storage data.
|
||||||
|
* Any existing (sub-)item pointers (including the root item9will be invalid after calling this.
|
||||||
|
* They need to be re-obtained via \see WUPSStorageAPI_GetRootItem , \see WUPSStorageAPI_GetSubItem or similar functions.
|
||||||
* @return WUPSStorageError WUPS_STORAGE_ERROR_SUCCESS on success, otherwise an appropriate error code.
|
* @return WUPSStorageError WUPS_STORAGE_ERROR_SUCCESS on success, otherwise an appropriate error code.
|
||||||
* \see WUPSStorageAPI_ForceReloadStorage
|
* \see WUPSStorageAPI_ForceReloadStorage
|
||||||
*/
|
*/
|
||||||
|
@ -254,7 +254,6 @@ TEST_CASE("Create subitem") {
|
|||||||
readItem = WUPSStorageAPI::GetSubItem(subItemName, res);
|
readItem = WUPSStorageAPI::GetSubItem(subItemName, res);
|
||||||
REQUIRE(res == WUPS_STORAGE_ERROR_SUCCESS);
|
REQUIRE(res == WUPS_STORAGE_ERROR_SUCCESS);
|
||||||
REQUIRE(readItem);
|
REQUIRE(readItem);
|
||||||
REQUIRE(*readItem == *subItem);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void storeNestedSubItem(int NEST_DEEP_SIZE) {
|
void storeNestedSubItem(int NEST_DEEP_SIZE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user