Skip to content

Commit

Permalink
Include names in argument lists (#1408)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan authored Nov 19, 2024
1 parent e37093f commit 79470d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#error "This file must be compiled with ARC enabled"
#endif

typedef void (^_DidFinish)(void *, NSURLSession *session,
typedef void (^_DidFinish)(void *closure, NSURLSession *session,
NSURLSessionDownloadTask *downloadTask,
NSURL *location);
typedef void (^_DidFinishWithLock)(NSCondition *lock, NSURLSession *session,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#import "utils.h"

_DidFinish adaptFinishWithLock(_DidFinishWithLock block) {
return ^void(void *, NSURLSession *session,
return ^void(void *closure, NSURLSession *session,
NSURLSessionDownloadTask *downloadTask, NSURL *location) {
NSCondition *lock = [[NSCondition alloc] init];
[lock lock];
Expand Down

0 comments on commit 79470d0

Please sign in to comment.