{"action":"opened","number":258,"pull_request":{"url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/pulls/258","id":126098617,"html_url":"https://github.com/apple/swift-corelibs-libdispatch/pull/258","diff_url":"https://github.com/apple/swift-corelibs-libdispatch/pull/258.diff","patch_url":"https://github.com/apple/swift-corelibs-libdispatch/pull/258.patch","issue_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/issues/258","number":258,"state":"open","locked":false,"title":"Export objc_retainAutoreleasedReturnValue()","user":{"login":"spevans","id":1093011,"avatar_url":"https://avatars1.githubusercontent.com/u/1093011?v=3","gravatar_id":"","url":"https://api.github.com/users/spevans","html_url":"https://github.com/spevans","followers_url":"https://api.github.com/users/spevans/followers","following_url":"https://api.github.com/users/spevans/following{/other_user}","gists_url":"https://api.github.com/users/spevans/gists{/gist_id}","starred_url":"https://api.github.com/users/spevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spevans/subscriptions","organizations_url":"https://api.github.com/users/spevans/orgs","repos_url":"https://api.github.com/users/spevans/repos","events_url":"https://api.github.com/users/spevans/events{/privacy}","received_events_url":"https://api.github.com/users/spevans/received_events","type":"User","site_admin":false},"body":"- This allows it to be used by Foundation so that the duplicate\r\n  function can be removed from CFRuntime.c in corelibs-foundation.\r\n\r\n- This also makes the export match the symbol in libdispatch.a.\r\n\r\nSince SwiftFoundation depends on libdispatch, there is no reason to have the function defined in both libraries. It shouldnt break the build as Foundation uses the linker argument `--allow-multiple-definition` but once this PR has been merged the duplicate function can be removed from Foundation and the linker argument eliminated.\r\n\r\nAt some point in the future the swift compiler may be fixed to not require this work around and then it can be removed from libdispatch as well.\r\n\r\n\r\n","created_at":"2017-06-16T19:22:43Z","updated_at":"2017-06-16T19:22:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/pulls/258/commits","review_comments_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/pulls/258/comments","review_comment_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/issues/258/comments","statuses_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/statuses/8e96d2b56351d2470b41e8bd711d42de0fe23dc0","head":{"label":"spevans:pr_expose_symbol","ref":"pr_expose_symbol","sha":"8e96d2b56351d2470b41e8bd711d42de0fe23dc0","user":{"login":"spevans","id":1093011,"avatar_url":"https://avatars1.githubusercontent.com/u/1093011?v=3","gravatar_id":"","url":"https://api.github.com/users/spevans","html_url":"https://github.com/spevans","followers_url":"https://api.github.com/users/spevans/followers","following_url":"https://api.github.com/users/spevans/following{/other_user}","gists_url":"https://api.github.com/users/spevans/gists{/gist_id}","starred_url":"https://api.github.com/users/spevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spevans/subscriptions","organizations_url":"https://api.github.com/users/spevans/orgs","repos_url":"https://api.github.com/users/spevans/repos","events_url":"https://api.github.com/users/spevans/events{/privacy}","received_events_url":"https://api.github.com/users/spevans/received_events","type":"User","site_admin":false},"repo":{"id":81972444,"name":"swift-corelibs-libdispatch","full_name":"spevans/swift-corelibs-libdispatch","owner":{"login":"spevans","id":1093011,"avatar_url":"https://avatars1.githubusercontent.com/u/1093011?v=3","gravatar_id":"","url":"https://api.github.com/users/spevans","html_url":"https://github.com/spevans","followers_url":"https://api.github.com/users/spevans/followers","following_url":"https://api.github.com/users/spevans/following{/other_user}","gists_url":"https://api.github.com/users/spevans/gists{/gist_id}","starred_url":"https://api.github.com/users/spevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spevans/subscriptions","organizations_url":"https://api.github.com/users/spevans/orgs","repos_url":"https://api.github.com/users/spevans/repos","events_url":"https://api.github.com/users/spevans/events{/privacy}","received_events_url":"https://api.github.com/users/spevans/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spevans/swift-corelibs-libdispatch","description":"The libdispatch Project, (a.k.a. Grand Central Dispatch), for concurrency on multicore hardware","fork":true,"url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch","forks_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/forks","keys_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/teams","hooks_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/hooks","issue_events_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/issues/events{/number}","events_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/events","assignees_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/assignees{/user}","branches_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/branches{/branch}","tags_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/tags","blobs_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/git/refs{/sha}","trees_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/statuses/{sha}","languages_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/languages","stargazers_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/stargazers","contributors_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/contributors","subscribers_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/subscribers","subscription_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/subscription","commits_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/commits{/sha}","git_commits_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/git/commits{/sha}","comments_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/comments{/number}","issue_comment_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/issues/comments{/number}","contents_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/contents/{+path}","compare_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/merges","archive_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/downloads","issues_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/issues{/number}","pulls_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/pulls{/number}","milestones_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/milestones{/number}","notifications_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/labels{/name}","releases_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/releases{/id}","deployments_url":"https://api.github.com/repos/spevans/swift-corelibs-libdispatch/deployments","created_at":"2017-02-14T17:44:58Z","updated_at":"2017-02-14T17:45:00Z","pushed_at":"2017-06-16T19:16:57Z","git_url":"git://github.com/spevans/swift-corelibs-libdispatch.git","ssh_url":"git@github.com:spevans/swift-corelibs-libdispatch.git","clone_url":"https://github.com/spevans/swift-corelibs-libdispatch.git","svn_url":"https://github.com/spevans/swift-corelibs-libdispatch","homepage":"swift.org","size":2398,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apple:master","ref":"master","sha":"56f36b618a6349cc05ff14bc9d4a4442e314299e","user":{"login":"apple","id":10639145,"avatar_url":"https://avatars3.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"repo":{"id":45863965,"name":"swift-corelibs-libdispatch","full_name":"apple/swift-corelibs-libdispatch","owner":{"login":"apple","id":10639145,"avatar_url":"https://avatars3.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apple/swift-corelibs-libdispatch","description":"The libdispatch Project, (a.k.a. Grand Central Dispatch), for concurrency on multicore hardware","fork":false,"url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch","forks_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/forks","keys_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/teams","hooks_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/hooks","issue_events_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/issues/events{/number}","events_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/events","assignees_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/assignees{/user}","branches_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/branches{/branch}","tags_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/tags","blobs_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/git/refs{/sha}","trees_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/statuses/{sha}","languages_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/languages","stargazers_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/stargazers","contributors_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/contributors","subscribers_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/subscribers","subscription_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/subscription","commits_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/commits{/sha}","git_commits_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/git/commits{/sha}","comments_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/comments{/number}","issue_comment_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/issues/comments{/number}","contents_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/contents/{+path}","compare_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/merges","archive_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/downloads","issues_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/issues{/number}","pulls_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/pulls{/number}","milestones_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/milestones{/number}","notifications_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/labels{/name}","releases_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/releases{/id}","deployments_url":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/deployments","created_at":"2015-11-09T20:13:55Z","updated_at":"2017-06-15T09:59:11Z","pushed_at":"2017-06-16T15:01:16Z","git_url":"git://github.com/apple/swift-corelibs-libdispatch.git","ssh_url":"git@github.com:apple/swift-corelibs-libdispatch.git","clone_url":"https://github.com/apple/swift-corelibs-libdispatch.git","svn_url":"https://github.com/apple/swift-corelibs-libdispatch","homepage":"swift.org","size":2409,"stargazers_count":995,"watchers_count":995,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":189,"mirror_url":null,"open_issues_count":5,"forks":189,"open_issues":5,"watchers":995,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/pulls/258"},"html":{"href":"https://github.com/apple/swift-corelibs-libdispatch/pull/258"},"issue":{"href":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/issues/258"},"comments":{"href":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/issues/258/comments"},"review_comments":{"href":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/pulls/258/comments"},"review_comment":{"href":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/pulls/258/commits"},"statuses":{"href":"https://api.github.com/repos/apple/swift-corelibs-libdispatch/statuses/8e96d2b56351d2470b41e8bd711d42de0fe23dc0"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":10,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"spevans"}}