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