{"action":"created","comment":{"url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/pulls/comments/51351929","id":51351929,"diff_hunk":"@@ -0,0 +1,63 @@\n+// D exceptions to by caught by C++\r\n+\r\n+#pragma once\r\n+\r\n+namespace D {\r\n+\r\n+struct string\r\n+{\r\n+    size_t length;\r\n+    const char* ptr;\r\n+};\r\n+\r\n+class Object;\r\n+\r\n+extern \"C\" {\r\n+    string _d_toString(Object* o);\r\n+}\r\n+\r\n+class Object\r\n+{\r\n+    void* __monitor;\r\n+\r\n+    virtual void _classinfo_data() = 0;\r\n+\r\n+protected:\r\n+    // don't call directly, ABI mismatch\r","path":"runnable/extra-files/dexcept.h","position":26,"original_position":26,"commit_id":"7cf0d4b62880db64d48f9f51844a7988f2ecf1ae","original_commit_id":"7cf0d4b62880db64d48f9f51844a7988f2ecf1ae","user":{"login":"kinke","id":1889215,"avatar_url":"https://avatars.githubusercontent.com/u/1889215?v=3","gravatar_id":"","url":"https://api.github.com/users/kinke","html_url":"https://github.com/kinke","followers_url":"https://api.github.com/users/kinke/followers","following_url":"https://api.github.com/users/kinke/following{/other_user}","gists_url":"https://api.github.com/users/kinke/gists{/gist_id}","starred_url":"https://api.github.com/users/kinke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinke/subscriptions","organizations_url":"https://api.github.com/users/kinke/orgs","repos_url":"https://api.github.com/users/kinke/repos","events_url":"https://api.github.com/users/kinke/events{/privacy}","received_events_url":"https://api.github.com/users/kinke/received_events","type":"User","site_admin":false},"body":"Could you elaborate a bit on the ABI mismatch? I assumed ABI compliance between D and C++ would already be checked by dmd-testsuite...","created_at":"2016-01-30T22:22:30Z","updated_at":"2016-01-30T22:22:30Z","html_url":"https://github.com/ldc-developers/dmd-testsuite/pull/15#discussion_r51351929","pull_request_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/ldc-developers/dmd-testsuite/pulls/comments/51351929"},"html":{"href":"https://github.com/ldc-developers/dmd-testsuite/pull/15#discussion_r51351929"},"pull_request":{"href":"https://api.github.com/repos/ldc-developers/dmd-testsuite/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/pulls/15","id":57630942,"html_url":"https://github.com/ldc-developers/dmd-testsuite/pull/15","diff_url":"https://github.com/ldc-developers/dmd-testsuite/pull/15.diff","patch_url":"https://github.com/ldc-developers/dmd-testsuite/pull/15.patch","issue_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/issues/15","number":15,"state":"open","locked":false,"title":"add test for catching D exceptions from C++ on Win32","user":{"login":"rainers","id":702284,"avatar_url":"https://avatars.githubusercontent.com/u/702284?v=3","gravatar_id":"","url":"https://api.github.com/users/rainers","html_url":"https://github.com/rainers","followers_url":"https://api.github.com/users/rainers/followers","following_url":"https://api.github.com/users/rainers/following{/other_user}","gists_url":"https://api.github.com/users/rainers/gists{/gist_id}","starred_url":"https://api.github.com/users/rainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainers/subscriptions","organizations_url":"https://api.github.com/users/rainers/orgs","repos_url":"https://api.github.com/users/rainers/repos","events_url":"https://api.github.com/users/rainers/events{/privacy}","received_events_url":"https://api.github.com/users/rainers/received_events","type":"User","site_admin":false},"body":"This takes advantage of recent changes to https://github.com/ldc-developers/druntime/pull/54","created_at":"2016-01-29T10:37:12Z","updated_at":"2016-01-30T22:22:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a0aa1d9107441efa89c544bcebf59a58ef48ebdc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/pulls/15/commits","review_comments_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/pulls/15/comments","review_comment_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/issues/15/comments","statuses_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/statuses/7cf0d4b62880db64d48f9f51844a7988f2ecf1ae","head":{"label":"rainers:cxx_catch_dexceptions","ref":"cxx_catch_dexceptions","sha":"7cf0d4b62880db64d48f9f51844a7988f2ecf1ae","user":{"login":"rainers","id":702284,"avatar_url":"https://avatars.githubusercontent.com/u/702284?v=3","gravatar_id":"","url":"https://api.github.com/users/rainers","html_url":"https://github.com/rainers","followers_url":"https://api.github.com/users/rainers/followers","following_url":"https://api.github.com/users/rainers/following{/other_user}","gists_url":"https://api.github.com/users/rainers/gists{/gist_id}","starred_url":"https://api.github.com/users/rainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainers/subscriptions","organizations_url":"https://api.github.com/users/rainers/orgs","repos_url":"https://api.github.com/users/rainers/repos","events_url":"https://api.github.com/users/rainers/events{/privacy}","received_events_url":"https://api.github.com/users/rainers/received_events","type":"User","site_admin":false},"repo":{"id":47421860,"name":"dmd-testsuite","full_name":"rainers/dmd-testsuite","owner":{"login":"rainers","id":702284,"avatar_url":"https://avatars.githubusercontent.com/u/702284?v=3","gravatar_id":"","url":"https://api.github.com/users/rainers","html_url":"https://github.com/rainers","followers_url":"https://api.github.com/users/rainers/followers","following_url":"https://api.github.com/users/rainers/following{/other_user}","gists_url":"https://api.github.com/users/rainers/gists{/gist_id}","starred_url":"https://api.github.com/users/rainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainers/subscriptions","organizations_url":"https://api.github.com/users/rainers/orgs","repos_url":"https://api.github.com/users/rainers/repos","events_url":"https://api.github.com/users/rainers/events{/privacy}","received_events_url":"https://api.github.com/users/rainers/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rainers/dmd-testsuite","description":"Mirrors the test suite in the DMD test/ directory, for use as Git submodule.","fork":true,"url":"https://api.github.com/repos/rainers/dmd-testsuite","forks_url":"https://api.github.com/repos/rainers/dmd-testsuite/forks","keys_url":"https://api.github.com/repos/rainers/dmd-testsuite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rainers/dmd-testsuite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rainers/dmd-testsuite/teams","hooks_url":"https://api.github.com/repos/rainers/dmd-testsuite/hooks","issue_events_url":"https://api.github.com/repos/rainers/dmd-testsuite/issues/events{/number}","events_url":"https://api.github.com/repos/rainers/dmd-testsuite/events","assignees_url":"https://api.github.com/repos/rainers/dmd-testsuite/assignees{/user}","branches_url":"https://api.github.com/repos/rainers/dmd-testsuite/branches{/branch}","tags_url":"https://api.github.com/repos/rainers/dmd-testsuite/tags","blobs_url":"https://api.github.com/repos/rainers/dmd-testsuite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rainers/dmd-testsuite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rainers/dmd-testsuite/git/refs{/sha}","trees_url":"https://api.github.com/repos/rainers/dmd-testsuite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rainers/dmd-testsuite/statuses/{sha}","languages_url":"https://api.github.com/repos/rainers/dmd-testsuite/languages","stargazers_url":"https://api.github.com/repos/rainers/dmd-testsuite/stargazers","contributors_url":"https://api.github.com/repos/rainers/dmd-testsuite/contributors","subscribers_url":"https://api.github.com/repos/rainers/dmd-testsuite/subscribers","subscription_url":"https://api.github.com/repos/rainers/dmd-testsuite/subscription","commits_url":"https://api.github.com/repos/rainers/dmd-testsuite/commits{/sha}","git_commits_url":"https://api.github.com/repos/rainers/dmd-testsuite/git/commits{/sha}","comments_url":"https://api.github.com/repos/rainers/dmd-testsuite/comments{/number}","issue_comment_url":"https://api.github.com/repos/rainers/dmd-testsuite/issues/comments{/number}","contents_url":"https://api.github.com/repos/rainers/dmd-testsuite/contents/{+path}","compare_url":"https://api.github.com/repos/rainers/dmd-testsuite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rainers/dmd-testsuite/merges","archive_url":"https://api.github.com/repos/rainers/dmd-testsuite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rainers/dmd-testsuite/downloads","issues_url":"https://api.github.com/repos/rainers/dmd-testsuite/issues{/number}","pulls_url":"https://api.github.com/repos/rainers/dmd-testsuite/pulls{/number}","milestones_url":"https://api.github.com/repos/rainers/dmd-testsuite/milestones{/number}","notifications_url":"https://api.github.com/repos/rainers/dmd-testsuite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rainers/dmd-testsuite/labels{/name}","releases_url":"https://api.github.com/repos/rainers/dmd-testsuite/releases{/id}","deployments_url":"https://api.github.com/repos/rainers/dmd-testsuite/deployments","created_at":"2015-12-04T18:28:07Z","updated_at":"2015-12-04T18:28:12Z","pushed_at":"2016-01-29T10:34:07Z","git_url":"git://github.com/rainers/dmd-testsuite.git","ssh_url":"git@github.com:rainers/dmd-testsuite.git","clone_url":"https://github.com/rainers/dmd-testsuite.git","svn_url":"https://github.com/rainers/dmd-testsuite","homepage":null,"size":6933,"stargazers_count":0,"watchers_count":0,"language":"D","has_issues":false,"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":"ldc"}},"base":{"label":"ldc-developers:ldc","ref":"ldc","sha":"9c840a1942b097a418723cb7d0fa6a66eb90f39f","user":{"login":"ldc-developers","id":960112,"avatar_url":"https://avatars.githubusercontent.com/u/960112?v=3","gravatar_id":"","url":"https://api.github.com/users/ldc-developers","html_url":"https://github.com/ldc-developers","followers_url":"https://api.github.com/users/ldc-developers/followers","following_url":"https://api.github.com/users/ldc-developers/following{/other_user}","gists_url":"https://api.github.com/users/ldc-developers/gists{/gist_id}","starred_url":"https://api.github.com/users/ldc-developers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldc-developers/subscriptions","organizations_url":"https://api.github.com/users/ldc-developers/orgs","repos_url":"https://api.github.com/users/ldc-developers/repos","events_url":"https://api.github.com/users/ldc-developers/events{/privacy}","received_events_url":"https://api.github.com/users/ldc-developers/received_events","type":"Organization","site_admin":false},"repo":{"id":5629310,"name":"dmd-testsuite","full_name":"ldc-developers/dmd-testsuite","owner":{"login":"ldc-developers","id":960112,"avatar_url":"https://avatars.githubusercontent.com/u/960112?v=3","gravatar_id":"","url":"https://api.github.com/users/ldc-developers","html_url":"https://github.com/ldc-developers","followers_url":"https://api.github.com/users/ldc-developers/followers","following_url":"https://api.github.com/users/ldc-developers/following{/other_user}","gists_url":"https://api.github.com/users/ldc-developers/gists{/gist_id}","starred_url":"https://api.github.com/users/ldc-developers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldc-developers/subscriptions","organizations_url":"https://api.github.com/users/ldc-developers/orgs","repos_url":"https://api.github.com/users/ldc-developers/repos","events_url":"https://api.github.com/users/ldc-developers/events{/privacy}","received_events_url":"https://api.github.com/users/ldc-developers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ldc-developers/dmd-testsuite","description":"Mirrors the test suite in the DMD test/ directory, for use as Git submodule.","fork":false,"url":"https://api.github.com/repos/ldc-developers/dmd-testsuite","forks_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/forks","keys_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/teams","hooks_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/hooks","issue_events_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/issues/events{/number}","events_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/events","assignees_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/assignees{/user}","branches_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/branches{/branch}","tags_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/tags","blobs_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/git/refs{/sha}","trees_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/statuses/{sha}","languages_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/languages","stargazers_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/stargazers","contributors_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/contributors","subscribers_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/subscribers","subscription_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/subscription","commits_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/commits{/sha}","git_commits_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/git/commits{/sha}","comments_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/comments{/number}","issue_comment_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/issues/comments{/number}","contents_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/contents/{+path}","compare_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/merges","archive_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/downloads","issues_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/issues{/number}","pulls_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/pulls{/number}","milestones_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/milestones{/number}","notifications_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/labels{/name}","releases_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/releases{/id}","deployments_url":"https://api.github.com/repos/ldc-developers/dmd-testsuite/deployments","created_at":"2012-08-31T13:53:31Z","updated_at":"2015-04-26T18:47:21Z","pushed_at":"2016-01-29T10:37:13Z","git_url":"git://github.com/ldc-developers/dmd-testsuite.git","ssh_url":"git@github.com:ldc-developers/dmd-testsuite.git","clone_url":"https://github.com/ldc-developers/dmd-testsuite.git","svn_url":"https://github.com/ldc-developers/dmd-testsuite","homepage":null,"size":6943,"stargazers_count":1,"watchers_count":1,"language":"D","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":1,"forks":10,"open_issues":1,"watchers":1,"default_branch":"ldc"}},"_links":{"self":{"href":"https://api.github.com/repos/ldc-developers/dmd-testsuite/pulls/15"},"html":{"href":"https://github.com/ldc-developers/dmd-testsuite/pull/15"},"issue":{"href":"https://api.github.com/repos/ldc-developers/dmd-testsuite/issues/15"},"comments":{"href":"https://api.github.com/repos/ldc-developers/dmd-testsuite/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/ldc-developers/dmd-testsuite/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/ldc-developers/dmd-testsuite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ldc-developers/dmd-testsuite/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/ldc-developers/dmd-testsuite/statuses/7cf0d4b62880db64d48f9f51844a7988f2ecf1ae"}}}}