Use FOUNDATION_EXPORT over extern
This commit is contained in:
parent
1f4f371a7a
commit
0f387c6694
|
@ -93,11 +93,11 @@
|
|||
#define SDDispatchQueueSetterSementics assign
|
||||
#endif
|
||||
|
||||
extern UIImage *SDScaledImageForKey(NSString *key, UIImage *image);
|
||||
FOUNDATION_EXPORT UIImage *SDScaledImageForKey(NSString *key, UIImage *image);
|
||||
|
||||
typedef void(^SDWebImageNoParamsBlock)();
|
||||
|
||||
extern NSString *const SDWebImageErrorDomain;
|
||||
FOUNDATION_EXPORT NSString *const SDWebImageErrorDomain;
|
||||
|
||||
#ifndef dispatch_main_async_safe
|
||||
#define dispatch_main_async_safe(block)\
|
||||
|
|
|
@ -68,8 +68,8 @@ typedef NS_ENUM(NSInteger, SDWebImageDownloaderExecutionOrder) {
|
|||
SDWebImageDownloaderLIFOExecutionOrder
|
||||
};
|
||||
|
||||
extern NSString * _Nonnull const SDWebImageDownloadStartNotification;
|
||||
extern NSString * _Nonnull const SDWebImageDownloadStopNotification;
|
||||
FOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadStartNotification;
|
||||
FOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadStopNotification;
|
||||
|
||||
typedef void(^SDWebImageDownloaderProgressBlock)(NSInteger receivedSize, NSInteger expectedSize, NSURL * _Nullable targetURL);
|
||||
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
#import "SDWebImageDownloader.h"
|
||||
#import "SDWebImageOperation.h"
|
||||
|
||||
extern NSString * _Nonnull const SDWebImageDownloadStartNotification;
|
||||
extern NSString * _Nonnull const SDWebImageDownloadReceiveResponseNotification;
|
||||
extern NSString * _Nonnull const SDWebImageDownloadStopNotification;
|
||||
extern NSString * _Nonnull const SDWebImageDownloadFinishNotification;
|
||||
FOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadStartNotification;
|
||||
FOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadReceiveResponseNotification;
|
||||
FOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadStopNotification;
|
||||
FOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadFinishNotification;
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue