File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
pkgs/cupertino_http/darwin/cupertino_http/Sources/cupertino_http Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 7
7
#error "This file must be compiled with ARC enabled"
8
8
#endif
9
9
10
- typedef void (^_DidFinish)(void *, NSURLSession *session,
10
+ typedef void (^_DidFinish)(void *closure , NSURLSession *session,
11
11
NSURLSessionDownloadTask *downloadTask,
12
12
NSURL *location);
13
13
typedef void (^_DidFinishWithLock)(NSCondition *lock, NSURLSession *session,
Original file line number Diff line number Diff line change 1
1
#import " utils.h"
2
2
3
3
_DidFinish adaptFinishWithLock (_DidFinishWithLock block) {
4
- return ^void (void *, NSURLSession *session,
4
+ return ^void (void *closure , NSURLSession *session,
5
5
NSURLSessionDownloadTask *downloadTask, NSURL *location) {
6
6
NSCondition *lock = [[NSCondition alloc ] init ];
7
7
[lock lock ];
You can’t perform that action at this time.
0 commit comments