{"action":"opened","number":752,"pull_request":{"url":"https://api.github.com/repos/dotnet/samples/pulls/752","id":264822825,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY0ODIyODI1","html_url":"https://github.com/dotnet/samples/pull/752","diff_url":"https://github.com/dotnet/samples/pull/752.diff","patch_url":"https://github.com/dotnet/samples/pull/752.patch","issue_url":"https://api.github.com/repos/dotnet/samples/issues/752","number":752,"state":"open","locked":false,"title":"Removed double extern \"C\" declaration","user":{"login":"gfoidl","id":5755834,"node_id":"MDQ6VXNlcjU3NTU4MzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5755834?v=4","gravatar_id":"","url":"https://api.github.com/users/gfoidl","html_url":"https://github.com/gfoidl","followers_url":"https://api.github.com/users/gfoidl/followers","following_url":"https://api.github.com/users/gfoidl/following{/other_user}","gists_url":"https://api.github.com/users/gfoidl/gists{/gist_id}","starred_url":"https://api.github.com/users/gfoidl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfoidl/subscriptions","organizations_url":"https://api.github.com/users/gfoidl/orgs","repos_url":"https://api.github.com/users/gfoidl/repos","events_url":"https://api.github.com/users/gfoidl/events{/privacy}","received_events_url":"https://api.github.com/users/gfoidl/received_events","type":"User","site_admin":false},"body":"`extern \"C\"` is already part of the macro `EXPORT`, so after expansion it would be\r\n\r\n```c++\r\nextern \"C\" extern \"C\" __declspec(dllexport) int NativeSum(int a, int b)\r\n```\r\n(for VC++).\r\n\r\nAlso removed the unneeded header `stdio.h`.","created_at":"2019-03-27T08:30:13Z","updated_at":"2019-03-27T08:30:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/samples/pulls/752/commits","review_comments_url":"https://api.github.com/repos/dotnet/samples/pulls/752/comments","review_comment_url":"https://api.github.com/repos/dotnet/samples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/samples/issues/752/comments","statuses_url":"https://api.github.com/repos/dotnet/samples/statuses/90bef8ca676198e7bb9fd06092b3d51f7466a84b","head":{"label":"gfoidl:patch-1","ref":"patch-1","sha":"90bef8ca676198e7bb9fd06092b3d51f7466a84b","user":{"login":"gfoidl","id":5755834,"node_id":"MDQ6VXNlcjU3NTU4MzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5755834?v=4","gravatar_id":"","url":"https://api.github.com/users/gfoidl","html_url":"https://github.com/gfoidl","followers_url":"https://api.github.com/users/gfoidl/followers","following_url":"https://api.github.com/users/gfoidl/following{/other_user}","gists_url":"https://api.github.com/users/gfoidl/gists{/gist_id}","starred_url":"https://api.github.com/users/gfoidl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfoidl/subscriptions","organizations_url":"https://api.github.com/users/gfoidl/orgs","repos_url":"https://api.github.com/users/gfoidl/repos","events_url":"https://api.github.com/users/gfoidl/events{/privacy}","received_events_url":"https://api.github.com/users/gfoidl/received_events","type":"User","site_admin":false},"repo":{"id":177949923,"node_id":"MDEwOlJlcG9zaXRvcnkxNzc5NDk5MjM=","name":"samples","full_name":"gfoidl/samples","private":false,"owner":{"login":"gfoidl","id":5755834,"node_id":"MDQ6VXNlcjU3NTU4MzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5755834?v=4","gravatar_id":"","url":"https://api.github.com/users/gfoidl","html_url":"https://github.com/gfoidl","followers_url":"https://api.github.com/users/gfoidl/followers","following_url":"https://api.github.com/users/gfoidl/following{/other_user}","gists_url":"https://api.github.com/users/gfoidl/gists{/gist_id}","starred_url":"https://api.github.com/users/gfoidl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfoidl/subscriptions","organizations_url":"https://api.github.com/users/gfoidl/orgs","repos_url":"https://api.github.com/users/gfoidl/repos","events_url":"https://api.github.com/users/gfoidl/events{/privacy}","received_events_url":"https://api.github.com/users/gfoidl/received_events","type":"User","site_admin":false},"html_url":"https://github.com/gfoidl/samples","description":"Sample code and snippets used in the .NET documentation","fork":true,"url":"https://api.github.com/repos/gfoidl/samples","forks_url":"https://api.github.com/repos/gfoidl/samples/forks","keys_url":"https://api.github.com/repos/gfoidl/samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gfoidl/samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gfoidl/samples/teams","hooks_url":"https://api.github.com/repos/gfoidl/samples/hooks","issue_events_url":"https://api.github.com/repos/gfoidl/samples/issues/events{/number}","events_url":"https://api.github.com/repos/gfoidl/samples/events","assignees_url":"https://api.github.com/repos/gfoidl/samples/assignees{/user}","branches_url":"https://api.github.com/repos/gfoidl/samples/branches{/branch}","tags_url":"https://api.github.com/repos/gfoidl/samples/tags","blobs_url":"https://api.github.com/repos/gfoidl/samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gfoidl/samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gfoidl/samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/gfoidl/samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gfoidl/samples/statuses/{sha}","languages_url":"https://api.github.com/repos/gfoidl/samples/languages","stargazers_url":"https://api.github.com/repos/gfoidl/samples/stargazers","contributors_url":"https://api.github.com/repos/gfoidl/samples/contributors","subscribers_url":"https://api.github.com/repos/gfoidl/samples/subscribers","subscription_url":"https://api.github.com/repos/gfoidl/samples/subscription","commits_url":"https://api.github.com/repos/gfoidl/samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/gfoidl/samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/gfoidl/samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/gfoidl/samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/gfoidl/samples/contents/{+path}","compare_url":"https://api.github.com/repos/gfoidl/samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gfoidl/samples/merges","archive_url":"https://api.github.com/repos/gfoidl/samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gfoidl/samples/downloads","issues_url":"https://api.github.com/repos/gfoidl/samples/issues{/number}","pulls_url":"https://api.github.com/repos/gfoidl/samples/pulls{/number}","milestones_url":"https://api.github.com/repos/gfoidl/samples/milestones{/number}","notifications_url":"https://api.github.com/repos/gfoidl/samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gfoidl/samples/labels{/name}","releases_url":"https://api.github.com/repos/gfoidl/samples/releases{/id}","deployments_url":"https://api.github.com/repos/gfoidl/samples/deployments","created_at":"2019-03-27T08:23:12Z","updated_at":"2019-03-27T08:24:49Z","pushed_at":"2019-03-27T08:28:45Z","git_url":"git://github.com/gfoidl/samples.git","ssh_url":"git@github.com:gfoidl/samples.git","clone_url":"https://github.com/gfoidl/samples.git","svn_url":"https://github.com/gfoidl/samples","homepage":"","size":165200,"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,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"a0f5fb298b3ae152830932367bf8f12b68a71cfc","user":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":119571446,"node_id":"MDEwOlJlcG9zaXRvcnkxMTk1NzE0NDY=","name":"samples","full_name":"dotnet/samples","private":false,"owner":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dotnet/samples","description":"Sample code and snippets used in the .NET documentation","fork":false,"url":"https://api.github.com/repos/dotnet/samples","forks_url":"https://api.github.com/repos/dotnet/samples/forks","keys_url":"https://api.github.com/repos/dotnet/samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/samples/teams","hooks_url":"https://api.github.com/repos/dotnet/samples/hooks","issue_events_url":"https://api.github.com/repos/dotnet/samples/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/samples/events","assignees_url":"https://api.github.com/repos/dotnet/samples/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/samples/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/samples/tags","blobs_url":"https://api.github.com/repos/dotnet/samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/samples/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/samples/languages","stargazers_url":"https://api.github.com/repos/dotnet/samples/stargazers","contributors_url":"https://api.github.com/repos/dotnet/samples/contributors","subscribers_url":"https://api.github.com/repos/dotnet/samples/subscribers","subscription_url":"https://api.github.com/repos/dotnet/samples/subscription","commits_url":"https://api.github.com/repos/dotnet/samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/samples/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/samples/merges","archive_url":"https://api.github.com/repos/dotnet/samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/samples/downloads","issues_url":"https://api.github.com/repos/dotnet/samples/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/samples/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/samples/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/samples/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/samples/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/samples/deployments","created_at":"2018-01-30T17:41:39Z","updated_at":"2019-03-26T23:33:40Z","pushed_at":"2019-03-27T08:14:22Z","git_url":"git://github.com/dotnet/samples.git","ssh_url":"git@github.com:dotnet/samples.git","clone_url":"https://github.com/dotnet/samples.git","svn_url":"https://github.com/dotnet/samples","homepage":"","size":165200,"stargazers_count":333,"watchers_count":333,"language":"C#","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":904,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":904,"open_issues":5,"watchers":333,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/samples/pulls/752"},"html":{"href":"https://github.com/dotnet/samples/pull/752"},"issue":{"href":"https://api.github.com/repos/dotnet/samples/issues/752"},"comments":{"href":"https://api.github.com/repos/dotnet/samples/issues/752/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/samples/pulls/752/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/samples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/samples/pulls/752/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/samples/statuses/90bef8ca676198e7bb9fd06092b3d51f7466a84b"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"gfoidl"}}