1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 15:53:55 +00:00

Fixed db retry logic

This commit is contained in:
Bryan Roe
2020-06-15 21:15:33 -07:00
parent fc54e82ae9
commit 59f80fc1b1
3 changed files with 20 additions and 2 deletions

View File

@@ -46,6 +46,7 @@ __EXPORT_TYPE ILibSimpleDataStore ILibSimpleDataStore_CreateEx2(char* filePath,
#define ILibSimpleDataStore_Create(filePath) ILibSimpleDataStore_CreateEx2(filePath, 0, 0)
#define ILibSimpleDataStore_CreateEx(filePath, userExtraMemorySize) ILibSimpleDataStore_CreateEx2(filePath, userExtraMemorySize, 0)
#define ILibSimpleDataStore_CreateCachedOnly() ILibSimpleDataStore_Create(NULL)
int ILibSimpleDataStore_IsCacheOnly(ILibSimpleDataStore ds);
// Check if the data store exists
int ILibSimpleDataStore_Exists(char *filePath);