{"action":"created","comment":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/comments/37699422","id":37699422,"diff_hunk":"@@ -68,49 +67,60 @@ const HOEDOWN_EXTENSIONS: libc::c_uint =\n type hoedown_document = libc::c_void;  // this is opaque to us\n \n type blockcodefn = extern \"C\" fn(*mut hoedown_buffer, *const hoedown_buffer,\n-                                 *const hoedown_buffer, *mut libc::c_void);\n+                                 *const hoedown_buffer, *const hoedown_renderer_data);\n+\n+type blockquotefn = extern \"C\" fn(*mut hoedown_buffer, *const hoedown_buffer,\n+                                  *const hoedown_renderer_data);\n \n type headerfn = extern \"C\" fn(*mut hoedown_buffer, *const hoedown_buffer,\n-                              libc::c_int, *mut libc::c_void);\n+                              libc::c_int, *const hoedown_renderer_data);\n+\n+type blockhtmlfn = extern \"C\" fn(*mut hoedown_buffer, *const hoedown_buffer,\n+                                 *const hoedown_renderer_data);\n \n type codespanfn = extern \"C\" fn(*mut hoedown_buffer, *const hoedown_buffer,\n-                                *mut libc::c_void) -> libc::c_int;\n+                                *const hoedown_renderer_data) -> libc::c_int;\n \n type linkfn = extern \"C\" fn (*mut hoedown_buffer, *const hoedown_buffer,\n                              *const hoedown_buffer, *const hoedown_buffer,\n-                             *mut libc::c_void) -> libc::c_int;\n+                             *const hoedown_renderer_data) -> libc::c_int;\n+\n+type entityfn = extern \"C\" fn (*mut hoedown_buffer, *const hoedown_buffer,\n+                               *const hoedown_renderer_data);\n \n type normaltextfn = extern \"C\" fn(*mut hoedown_buffer, *const hoedown_buffer,\n-                                  *mut libc::c_void);\n+                                  *const hoedown_renderer_data);\n+\n+#[repr(C)]\n+struct hoedown_renderer_data {\n+    opaque: *mut libc::c_void,\n+}\n \n #[repr(C)]\n struct hoedown_renderer {\n     opaque: *mut libc::c_void,","path":"src/librustdoc/html/markdown.rs","position":57,"original_position":57,"commit_id":"dfd60166b67e1db6a0bfca63de933d0cfbb9ecb2","original_commit_id":"dfd60166b67e1db6a0bfca63de933d0cfbb9ecb2","user":{"login":"tamird","id":1535036,"avatar_url":"https://avatars.githubusercontent.com/u/1535036?v=3","gravatar_id":"","url":"https://api.github.com/users/tamird","html_url":"https://github.com/tamird","followers_url":"https://api.github.com/users/tamird/followers","following_url":"https://api.github.com/users/tamird/following{/other_user}","gists_url":"https://api.github.com/users/tamird/gists{/gist_id}","starred_url":"https://api.github.com/users/tamird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamird/subscriptions","organizations_url":"https://api.github.com/users/tamird/orgs","repos_url":"https://api.github.com/users/tamird/repos","events_url":"https://api.github.com/users/tamird/events{/privacy}","received_events_url":"https://api.github.com/users/tamird/received_events","type":"User","site_admin":false},"body":"ditto","created_at":"2015-08-22T20:27:48Z","updated_at":"2015-08-22T20:27:48Z","html_url":"https://github.com/rust-lang/rust/pull/27945#discussion_r37699422","pull_request_url":"https://api.github.com/repos/rust-lang/rust/pulls/27945","_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/comments/37699422"},"html":{"href":"https://github.com/rust-lang/rust/pull/27945#discussion_r37699422"},"pull_request":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/27945"}}},"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/27945","id":43109484,"html_url":"https://github.com/rust-lang/rust/pull/27945","diff_url":"https://github.com/rust-lang/rust/pull/27945.diff","patch_url":"https://github.com/rust-lang/rust/pull/27945.patch","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/27945","number":27945,"state":"open","locked":false,"title":"Upgrade hoedown to 3.0.4","user":{"login":"Eljay","id":6574,"avatar_url":"https://avatars.githubusercontent.com/u/6574?v=3","gravatar_id":"","url":"https://api.github.com/users/Eljay","html_url":"https://github.com/Eljay","followers_url":"https://api.github.com/users/Eljay/followers","following_url":"https://api.github.com/users/Eljay/following{/other_user}","gists_url":"https://api.github.com/users/Eljay/gists{/gist_id}","starred_url":"https://api.github.com/users/Eljay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eljay/subscriptions","organizations_url":"https://api.github.com/users/Eljay/orgs","repos_url":"https://api.github.com/users/Eljay/repos","events_url":"https://api.github.com/users/Eljay/events{/privacy}","received_events_url":"https://api.github.com/users/Eljay/received_events","type":"User","site_admin":false},"body":"Some hoedown FFI changes:\r\n- `HOEDOWN_EXT_NO_INTRA_EMPHASIS` constant changed.\r\n- Updated/tidied up all callback function signatures.\r\n- All opaque data access has an additional layer of indirection for some reason (`hoedown_renderer_data`).\r\n\r\nThis also fixes #27862.","created_at":"2015-08-22T20:14:03Z","updated_at":"2015-08-22T20:27:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a9883c63906671b92a39e8bd47ef54c1c0cf8819","assignee":{"login":"brson","id":147214,"avatar_url":"https://avatars.githubusercontent.com/u/147214?v=3","gravatar_id":"","url":"https://api.github.com/users/brson","html_url":"https://github.com/brson","followers_url":"https://api.github.com/users/brson/followers","following_url":"https://api.github.com/users/brson/following{/other_user}","gists_url":"https://api.github.com/users/brson/gists{/gist_id}","starred_url":"https://api.github.com/users/brson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brson/subscriptions","organizations_url":"https://api.github.com/users/brson/orgs","repos_url":"https://api.github.com/users/brson/repos","events_url":"https://api.github.com/users/brson/events{/privacy}","received_events_url":"https://api.github.com/users/brson/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rust/pulls/27945/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rust/pulls/27945/comments","review_comment_url":"https://api.github.com/repos/rust-lang/rust/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/27945/comments","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/dfd60166b67e1db6a0bfca63de933d0cfbb9ecb2","head":{"label":"Eljay:upgrade-hoedown","ref":"upgrade-hoedown","sha":"dfd60166b67e1db6a0bfca63de933d0cfbb9ecb2","user":{"login":"Eljay","id":6574,"avatar_url":"https://avatars.githubusercontent.com/u/6574?v=3","gravatar_id":"","url":"https://api.github.com/users/Eljay","html_url":"https://github.com/Eljay","followers_url":"https://api.github.com/users/Eljay/followers","following_url":"https://api.github.com/users/Eljay/following{/other_user}","gists_url":"https://api.github.com/users/Eljay/gists{/gist_id}","starred_url":"https://api.github.com/users/Eljay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eljay/subscriptions","organizations_url":"https://api.github.com/users/Eljay/orgs","repos_url":"https://api.github.com/users/Eljay/repos","events_url":"https://api.github.com/users/Eljay/events{/privacy}","received_events_url":"https://api.github.com/users/Eljay/received_events","type":"User","site_admin":false},"repo":{"id":38711157,"name":"rust","full_name":"Eljay/rust","owner":{"login":"Eljay","id":6574,"avatar_url":"https://avatars.githubusercontent.com/u/6574?v=3","gravatar_id":"","url":"https://api.github.com/users/Eljay","html_url":"https://github.com/Eljay","followers_url":"https://api.github.com/users/Eljay/followers","following_url":"https://api.github.com/users/Eljay/following{/other_user}","gists_url":"https://api.github.com/users/Eljay/gists{/gist_id}","starred_url":"https://api.github.com/users/Eljay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eljay/subscriptions","organizations_url":"https://api.github.com/users/Eljay/orgs","repos_url":"https://api.github.com/users/Eljay/repos","events_url":"https://api.github.com/users/Eljay/events{/privacy}","received_events_url":"https://api.github.com/users/Eljay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Eljay/rust","description":"A safe, concurrent, practical language.","fork":true,"url":"https://api.github.com/repos/Eljay/rust","forks_url":"https://api.github.com/repos/Eljay/rust/forks","keys_url":"https://api.github.com/repos/Eljay/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eljay/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eljay/rust/teams","hooks_url":"https://api.github.com/repos/Eljay/rust/hooks","issue_events_url":"https://api.github.com/repos/Eljay/rust/issues/events{/number}","events_url":"https://api.github.com/repos/Eljay/rust/events","assignees_url":"https://api.github.com/repos/Eljay/rust/assignees{/user}","branches_url":"https://api.github.com/repos/Eljay/rust/branches{/branch}","tags_url":"https://api.github.com/repos/Eljay/rust/tags","blobs_url":"https://api.github.com/repos/Eljay/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eljay/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eljay/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eljay/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eljay/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/Eljay/rust/languages","stargazers_url":"https://api.github.com/repos/Eljay/rust/stargazers","contributors_url":"https://api.github.com/repos/Eljay/rust/contributors","subscribers_url":"https://api.github.com/repos/Eljay/rust/subscribers","subscription_url":"https://api.github.com/repos/Eljay/rust/subscription","commits_url":"https://api.github.com/repos/Eljay/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eljay/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eljay/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eljay/rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eljay/rust/contents/{+path}","compare_url":"https://api.github.com/repos/Eljay/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eljay/rust/merges","archive_url":"https://api.github.com/repos/Eljay/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eljay/rust/downloads","issues_url":"https://api.github.com/repos/Eljay/rust/issues{/number}","pulls_url":"https://api.github.com/repos/Eljay/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/Eljay/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/Eljay/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eljay/rust/labels{/name}","releases_url":"https://api.github.com/repos/Eljay/rust/releases{/id}","created_at":"2015-07-07T19:52:27Z","updated_at":"2015-07-07T19:52:43Z","pushed_at":"2015-08-22T20:09:10Z","git_url":"git://github.com/Eljay/rust.git","ssh_url":"git@github.com:Eljay/rust.git","clone_url":"https://github.com/Eljay/rust.git","svn_url":"https://github.com/Eljay/rust","homepage":"http://www.rust-lang.org","size":313722,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":"master"}},"base":{"label":"rust-lang:master","ref":"master","sha":"4a1fda807e97cc2bbc12a7f15d0566d827004e48","user":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":724712,"name":"rust","full_name":"rust-lang/rust","owner":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang/rust","description":"A safe, concurrent, practical language.","fork":false,"url":"https://api.github.com/repos/rust-lang/rust","forks_url":"https://api.github.com/repos/rust-lang/rust/forks","keys_url":"https://api.github.com/repos/rust-lang/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang/rust/teams","hooks_url":"https://api.github.com/repos/rust-lang/rust/hooks","issue_events_url":"https://api.github.com/repos/rust-lang/rust/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang/rust/events","assignees_url":"https://api.github.com/repos/rust-lang/rust/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang/rust/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang/rust/tags","blobs_url":"https://api.github.com/repos/rust-lang/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang/rust/languages","stargazers_url":"https://api.github.com/repos/rust-lang/rust/stargazers","contributors_url":"https://api.github.com/repos/rust-lang/rust/contributors","subscribers_url":"https://api.github.com/repos/rust-lang/rust/subscribers","subscription_url":"https://api.github.com/repos/rust-lang/rust/subscription","commits_url":"https://api.github.com/repos/rust-lang/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang/rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-lang/rust/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang/rust/merges","archive_url":"https://api.github.com/repos/rust-lang/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang/rust/downloads","issues_url":"https://api.github.com/repos/rust-lang/rust/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang/rust/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang/rust/releases{/id}","created_at":"2010-06-16T20:39:03Z","updated_at":"2015-08-22T18:47:42Z","pushed_at":"2015-08-22T20:14:03Z","git_url":"git://github.com/rust-lang/rust.git","ssh_url":"git@github.com:rust-lang/rust.git","clone_url":"https://github.com/rust-lang/rust.git","svn_url":"https://github.com/rust-lang/rust","homepage":"http://www.rust-lang.org","size":675098,"stargazers_count":13087,"watchers_count":13087,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2543,"mirror_url":null,"open_issues_count":2232,"forks":2543,"open_issues":2232,"watchers":13087,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/27945"},"html":{"href":"https://github.com/rust-lang/rust/pull/27945"},"issue":{"href":"https://api.github.com/repos/rust-lang/rust/issues/27945"},"comments":{"href":"https://api.github.com/repos/rust-lang/rust/issues/27945/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/27945/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/27945/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rust/statuses/dfd60166b67e1db6a0bfca63de933d0cfbb9ecb2"}}}}