From eba3642aef7bee3d54402f1cba6935755909487d Mon Sep 17 00:00:00 2001 From: joshuastray Date: Fri, 17 Oct 2014 11:52:59 +0800 Subject: [PATCH] add missing CC_DLL for localstorage --- cocos/storage/local-storage/LocalStorage.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/cocos/storage/local-storage/LocalStorage.h b/cocos/storage/local-storage/LocalStorage.h index c79d46b1ee..58692549e6 100644 --- a/cocos/storage/local-storage/LocalStorage.h +++ b/cocos/storage/local-storage/LocalStorage.h @@ -31,20 +31,21 @@ THE SOFTWARE. #define __JSB_LOCALSTORAGE_H #include +#include "CCPlatformMacros.h" /** Initializes the database. If path is null, it will create an in-memory DB */ -void localStorageInit( const std::string& fullpath = ""); +void CC_DLL localStorageInit( const std::string& fullpath = ""); /** Frees the allocated resources */ -void localStorageFree(); +void CC_DLL localStorageFree(); /** sets an item in the LS */ -void localStorageSetItem( const std::string& key, const std::string& value); +void CC_DLL localStorageSetItem( const std::string& key, const std::string& value); /** gets an item from the LS */ -std::string localStorageGetItem( const std::string& key ); +std::string CC_DLL localStorageGetItem( const std::string& key ); /** removes an item from the LS */ -void localStorageRemoveItem( const std::string& key ); +void CC_DLL localStorageRemoveItem( const std::string& key ); #endif // __JSB_LOCALSTORAGE_H