Skip to content

Commit 48420dc

Browse files
author
Walzer
committed
fixed #605, add CC_DLL to pure C methods in CCNS.h
1 parent 47ab960 commit 48420dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cocos2dx/cocoa/CCNS.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ namespace cocos2d
3939
@return A Core Graphics structure that represents a rectangle.
4040
If the string is not well-formed, the function returns CCRectZero.
4141
*/
42-
CCRect CCRectFromString(const char* pszContent);
42+
CCRect CC_DLL CCRectFromString(const char* pszContent);
4343

4444
/**
4545
@brief Returns a Core Graphics point structure corresponding to the data in a given string.
@@ -51,7 +51,7 @@ namespace cocos2d
5151
@return A Core Graphics structure that represents a point.
5252
If the string is not well-formed, the function returns CCPointZero.
5353
*/
54-
CCPoint CCPointFromString(const char* pszContent);
54+
CCPoint CC_DLL CCPointFromString(const char* pszContent);
5555

5656
/**
5757
@brief Returns a Core Graphics size structure corresponding to the data in a given string.
@@ -63,7 +63,7 @@ namespace cocos2d
6363
@return A Core Graphics structure that represents a size.
6464
If the string is not well-formed, the function returns CCSizeZero.
6565
*/
66-
CCSize CCSizeFromString(const char* pszContent);
66+
CCSize CC_DLL CCSizeFromString(const char* pszContent);
6767
}
6868

6969
#endif // __PLATFOMR_CCNS_H__

0 commit comments

Comments
 (0)