From 48420dca0c63baa96357c0e68cbdc7fcc5def326 Mon Sep 17 00:00:00 2001 From: Walzer Date: Tue, 12 Jul 2011 17:10:10 +0800 Subject: [PATCH] fixed #605, add CC_DLL to pure C methods in CCNS.h --- cocos2dx/cocoa/CCNS.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cocos2dx/cocoa/CCNS.h b/cocos2dx/cocoa/CCNS.h index 3b81f6c4e0..b41803417a 100644 --- a/cocos2dx/cocoa/CCNS.h +++ b/cocos2dx/cocoa/CCNS.h @@ -39,7 +39,7 @@ namespace cocos2d @return A Core Graphics structure that represents a rectangle. If the string is not well-formed, the function returns CCRectZero. */ - CCRect CCRectFromString(const char* pszContent); + CCRect CC_DLL CCRectFromString(const char* pszContent); /** @brief Returns a Core Graphics point structure corresponding to the data in a given string. @@ -51,7 +51,7 @@ namespace cocos2d @return A Core Graphics structure that represents a point. If the string is not well-formed, the function returns CCPointZero. */ - CCPoint CCPointFromString(const char* pszContent); + CCPoint CC_DLL CCPointFromString(const char* pszContent); /** @brief Returns a Core Graphics size structure corresponding to the data in a given string. @@ -63,7 +63,7 @@ namespace cocos2d @return A Core Graphics structure that represents a size. If the string is not well-formed, the function returns CCSizeZero. */ - CCSize CCSizeFromString(const char* pszContent); + CCSize CC_DLL CCSizeFromString(const char* pszContent); } #endif // __PLATFOMR_CCNS_H__