Skip to content

Commit 79470d0

Browse files
authored
Include names in argument lists (#1408)
1 parent e37093f commit 79470d0

File tree

2 files changed

+2
-2
lines changed
  • pkgs/cupertino_http/darwin/cupertino_http/Sources/cupertino_http

2 files changed

+2
-2
lines changed

pkgs/cupertino_http/darwin/cupertino_http/Sources/cupertino_http/utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#error "This file must be compiled with ARC enabled"
88
#endif
99

10-
typedef void (^_DidFinish)(void *, NSURLSession *session,
10+
typedef void (^_DidFinish)(void *closure, NSURLSession *session,
1111
NSURLSessionDownloadTask *downloadTask,
1212
NSURL *location);
1313
typedef void (^_DidFinishWithLock)(NSCondition *lock, NSURLSession *session,

pkgs/cupertino_http/darwin/cupertino_http/Sources/cupertino_http/utils.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#import "utils.h"
22

33
_DidFinish adaptFinishWithLock(_DidFinishWithLock block) {
4-
return ^void(void *, NSURLSession *session,
4+
return ^void(void *closure, NSURLSession *session,
55
NSURLSessionDownloadTask *downloadTask, NSURL *location) {
66
NSCondition *lock = [[NSCondition alloc] init];
77
[lock lock];

0 commit comments

Comments
 (0)