Skip to content

Commit 78cd8cb

Browse files
committed
Fixed some missing extern declarations
Former-commit-id: cb351e5
1 parent 5d34e8e commit 78cd8cb

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

cocos2d/Platforms/iOS/CCAppDelegate.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,27 +30,27 @@
3030
#import <UIKit/UIKit.h>
3131
#import "CCDirectorIOS.h"
3232

33-
NSString* const CCSetupPixelFormat;
34-
NSString* const CCSetupScreenMode;
35-
NSString* const CCSetupScreenOrientation;
36-
NSString* const CCSetupAnimationInterval;
37-
NSString* const CCSetupFixedUpdateInterval;
38-
NSString* const CCSetupShowDebugStats;
39-
NSString* const CCSetupTabletScale2X;
33+
extern NSString* const CCSetupPixelFormat;
34+
extern NSString* const CCSetupScreenMode;
35+
extern NSString* const CCSetupScreenOrientation;
36+
extern NSString* const CCSetupAnimationInterval;
37+
extern NSString* const CCSetupFixedUpdateInterval;
38+
extern NSString* const CCSetupShowDebugStats;
39+
extern NSString* const CCSetupTabletScale2X;
4040

4141

4242
// Landscape screen orientation. Used with CCSetupScreenOrientation.
43-
NSString* const CCScreenOrientationLandscape;
43+
extern NSString* const CCScreenOrientationLandscape;
4444

4545
// Portrait screen orientation. Used with CCSetupScreenOrientation.
46-
NSString* const CCScreenOrientationPortrait;
46+
extern NSString* const CCScreenOrientationPortrait;
4747

4848

4949
// The flexible screen mode is Cocos2d's default. It will give you an area that can vary slightly in size. In landscape mode the height will be 320 points for mobiles and 384 points for tablets. The width of the area can vary from 480 to 568 points.
50-
NSString* const CCScreenModeFlexible;
50+
extern NSString* const CCScreenModeFlexible;
5151

5252
// The fixed screen mode will setup the working area to be 568 x 384 points. Depending on the device, the outer edges may be cropped. The safe area, that will be displayed on all sorts of devices, is 480 x 320 points and placed in the center of the working area.
53-
NSString* const CCScreenModeFixed;
53+
extern NSString* const CCScreenModeFixed;
5454

5555

5656
@class CCAppDelegate;

0 commit comments

Comments
 (0)