{"action":"created","comment":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments/206617351","pull_request_review_id":142064115,"id":206617351,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjYxNzM1MQ==","diff_hunk":"@@ -1,12 +1,78 @@\n // This file is a part of Julia. License is MIT: https://julialang.org/license\n \n #include \"gc.h\"\n+#include \"julia_gcext.h\"\n #include \"julia_assert.h\"\n \n #ifdef __cplusplus\n extern \"C\" {\n #endif\n \n+// Linked list of callback functions\n+\n+typedef void (*jl_gc_cb_func_t)(void);\n+\n+typedef struct jl_gc_callback_list_t {\n+    struct jl_gc_callback_list_t *next;\n+    jl_gc_cb_func_t func;\n+} jl_gc_callback_list_t;\n+\n+static jl_gc_callback_list_t *gc_cblist_pre_gc;\n+static jl_gc_callback_list_t *gc_cblist_post_gc;\n+\n+#define gc_invoke_callbacks(kind, args) \\","path":"src/gc.c","position":null,"original_position":23,"commit_id":"958ed0d72ea1163b1e73b249388d4c997d6360ca","original_commit_id":"c650354430813fb76549806a9078cbde9ed1f22e","user":{"login":"yuyichao","id":712232,"node_id":"MDQ6VXNlcjcxMjIzMg==","avatar_url":"https://avatars3.githubusercontent.com/u/712232?v=4","gravatar_id":"","url":"https://api.github.com/users/yuyichao","html_url":"https://github.com/yuyichao","followers_url":"https://api.github.com/users/yuyichao/followers","following_url":"https://api.github.com/users/yuyichao/following{/other_user}","gists_url":"https://api.github.com/users/yuyichao/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyichao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyichao/subscriptions","organizations_url":"https://api.github.com/users/yuyichao/orgs","repos_url":"https://api.github.com/users/yuyichao/repos","events_url":"https://api.github.com/users/yuyichao/events{/privacy}","received_events_url":"https://api.github.com/users/yuyichao/received_events","type":"User","site_admin":false},"body":"The macro symbol concatenation is still here.....","created_at":"2018-07-31T17:32:26Z","updated_at":"2018-07-31T17:45:52Z","html_url":"https://github.com/JuliaLang/julia/pull/28368#discussion_r206617351","pull_request_url":"https://api.github.com/repos/JuliaLang/julia/pulls/28368","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments/206617351"},"html":{"href":"https://github.com/JuliaLang/julia/pull/28368#discussion_r206617351"},"pull_request":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/28368"}}},"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/28368","id":204991683,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0OTkxNjgz","html_url":"https://github.com/JuliaLang/julia/pull/28368","diff_url":"https://github.com/JuliaLang/julia/pull/28368.diff","patch_url":"https://github.com/JuliaLang/julia/pull/28368.patch","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/28368","number":28368,"state":"open","locked":false,"title":"GC Extensions","user":{"login":"rbehrends","id":5116346,"node_id":"MDQ6VXNlcjUxMTYzNDY=","avatar_url":"https://avatars0.githubusercontent.com/u/5116346?v=4","gravatar_id":"","url":"https://api.github.com/users/rbehrends","html_url":"https://github.com/rbehrends","followers_url":"https://api.github.com/users/rbehrends/followers","following_url":"https://api.github.com/users/rbehrends/following{/other_user}","gists_url":"https://api.github.com/users/rbehrends/gists{/gist_id}","starred_url":"https://api.github.com/users/rbehrends/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbehrends/subscriptions","organizations_url":"https://api.github.com/users/rbehrends/orgs","repos_url":"https://api.github.com/users/rbehrends/repos","events_url":"https://api.github.com/users/rbehrends/events{/privacy}","received_events_url":"https://api.github.com/users/rbehrends/received_events","type":"User","site_admin":false},"body":"This pull request implements the GC extension proposal described in [this Julia Enhancement proposal](https://github.com/JuliaLang/Juleps/blob/master/GcExtensions.md).\r\n\r\nSee the Julep above for a full description of the API and semantics.","created_at":"2018-07-31T04:17:45Z","updated_at":"2018-07-31T17:45:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c4bb46e78eb2c71af062fc42a198ec38568dfa7","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Keno","id":1291671,"node_id":"MDQ6VXNlcjEyOTE2NzE=","avatar_url":"https://avatars1.githubusercontent.com/u/1291671?v=4","gravatar_id":"","url":"https://api.github.com/users/Keno","html_url":"https://github.com/Keno","followers_url":"https://api.github.com/users/Keno/followers","following_url":"https://api.github.com/users/Keno/following{/other_user}","gists_url":"https://api.github.com/users/Keno/gists{/gist_id}","starred_url":"https://api.github.com/users/Keno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keno/subscriptions","organizations_url":"https://api.github.com/users/Keno/orgs","repos_url":"https://api.github.com/users/Keno/repos","events_url":"https://api.github.com/users/Keno/events{/privacy}","received_events_url":"https://api.github.com/users/Keno/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":195227131,"node_id":"MDU6TGFiZWwxOTUyMjcxMzE=","url":"https://api.github.com/repos/JuliaLang/julia/labels/GC","name":"GC","color":"009800","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/JuliaLang/julia/pulls/28368/commits","review_comments_url":"https://api.github.com/repos/JuliaLang/julia/pulls/28368/comments","review_comment_url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/28368/comments","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/958ed0d72ea1163b1e73b249388d4c997d6360ca","head":{"label":"rbehrends:rb/gc-extensions","ref":"rb/gc-extensions","sha":"958ed0d72ea1163b1e73b249388d4c997d6360ca","user":{"login":"rbehrends","id":5116346,"node_id":"MDQ6VXNlcjUxMTYzNDY=","avatar_url":"https://avatars0.githubusercontent.com/u/5116346?v=4","gravatar_id":"","url":"https://api.github.com/users/rbehrends","html_url":"https://github.com/rbehrends","followers_url":"https://api.github.com/users/rbehrends/followers","following_url":"https://api.github.com/users/rbehrends/following{/other_user}","gists_url":"https://api.github.com/users/rbehrends/gists{/gist_id}","starred_url":"https://api.github.com/users/rbehrends/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbehrends/subscriptions","organizations_url":"https://api.github.com/users/rbehrends/orgs","repos_url":"https://api.github.com/users/rbehrends/repos","events_url":"https://api.github.com/users/rbehrends/events{/privacy}","received_events_url":"https://api.github.com/users/rbehrends/received_events","type":"User","site_admin":false},"repo":{"id":91448969,"node_id":"MDEwOlJlcG9zaXRvcnk5MTQ0ODk2OQ==","name":"julia","full_name":"rbehrends/julia","owner":{"login":"rbehrends","id":5116346,"node_id":"MDQ6VXNlcjUxMTYzNDY=","avatar_url":"https://avatars0.githubusercontent.com/u/5116346?v=4","gravatar_id":"","url":"https://api.github.com/users/rbehrends","html_url":"https://github.com/rbehrends","followers_url":"https://api.github.com/users/rbehrends/followers","following_url":"https://api.github.com/users/rbehrends/following{/other_user}","gists_url":"https://api.github.com/users/rbehrends/gists{/gist_id}","starred_url":"https://api.github.com/users/rbehrends/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbehrends/subscriptions","organizations_url":"https://api.github.com/users/rbehrends/orgs","repos_url":"https://api.github.com/users/rbehrends/repos","events_url":"https://api.github.com/users/rbehrends/events{/privacy}","received_events_url":"https://api.github.com/users/rbehrends/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rbehrends/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":true,"url":"https://api.github.com/repos/rbehrends/julia","forks_url":"https://api.github.com/repos/rbehrends/julia/forks","keys_url":"https://api.github.com/repos/rbehrends/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rbehrends/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rbehrends/julia/teams","hooks_url":"https://api.github.com/repos/rbehrends/julia/hooks","issue_events_url":"https://api.github.com/repos/rbehrends/julia/issues/events{/number}","events_url":"https://api.github.com/repos/rbehrends/julia/events","assignees_url":"https://api.github.com/repos/rbehrends/julia/assignees{/user}","branches_url":"https://api.github.com/repos/rbehrends/julia/branches{/branch}","tags_url":"https://api.github.com/repos/rbehrends/julia/tags","blobs_url":"https://api.github.com/repos/rbehrends/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rbehrends/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rbehrends/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/rbehrends/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rbehrends/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/rbehrends/julia/languages","stargazers_url":"https://api.github.com/repos/rbehrends/julia/stargazers","contributors_url":"https://api.github.com/repos/rbehrends/julia/contributors","subscribers_url":"https://api.github.com/repos/rbehrends/julia/subscribers","subscription_url":"https://api.github.com/repos/rbehrends/julia/subscription","commits_url":"https://api.github.com/repos/rbehrends/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/rbehrends/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/rbehrends/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/rbehrends/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/rbehrends/julia/contents/{+path}","compare_url":"https://api.github.com/repos/rbehrends/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rbehrends/julia/merges","archive_url":"https://api.github.com/repos/rbehrends/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rbehrends/julia/downloads","issues_url":"https://api.github.com/repos/rbehrends/julia/issues{/number}","pulls_url":"https://api.github.com/repos/rbehrends/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/rbehrends/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/rbehrends/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rbehrends/julia/labels{/name}","releases_url":"https://api.github.com/repos/rbehrends/julia/releases{/id}","deployments_url":"https://api.github.com/repos/rbehrends/julia/deployments","created_at":"2017-05-16T11:07:19Z","updated_at":"2018-07-31T02:51:11Z","pushed_at":"2018-07-31T03:55:59Z","git_url":"git://github.com/rbehrends/julia.git","ssh_url":"git@github.com:rbehrends/julia.git","clone_url":"https://github.com/rbehrends/julia.git","svn_url":"https://github.com/rbehrends/julia","homepage":"http://julialang.org/","size":198057,"stargazers_count":0,"watchers_count":0,"language":"Julia","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":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JuliaLang:master","ref":"master","sha":"33e8b62d56923c6aa846a4e466933dfb122dff07","user":{"login":"JuliaLang","id":743164,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc0MzE2NA==","avatar_url":"https://avatars0.githubusercontent.com/u/743164?v=4","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"repo":{"id":1644196,"node_id":"MDEwOlJlcG9zaXRvcnkxNjQ0MTk2","name":"julia","full_name":"JuliaLang/julia","owner":{"login":"JuliaLang","id":743164,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc0MzE2NA==","avatar_url":"https://avatars0.githubusercontent.com/u/743164?v=4","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaLang/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":false,"url":"https://api.github.com/repos/JuliaLang/julia","forks_url":"https://api.github.com/repos/JuliaLang/julia/forks","keys_url":"https://api.github.com/repos/JuliaLang/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaLang/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaLang/julia/teams","hooks_url":"https://api.github.com/repos/JuliaLang/julia/hooks","issue_events_url":"https://api.github.com/repos/JuliaLang/julia/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaLang/julia/events","assignees_url":"https://api.github.com/repos/JuliaLang/julia/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaLang/julia/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaLang/julia/tags","blobs_url":"https://api.github.com/repos/JuliaLang/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaLang/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaLang/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaLang/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaLang/julia/languages","stargazers_url":"https://api.github.com/repos/JuliaLang/julia/stargazers","contributors_url":"https://api.github.com/repos/JuliaLang/julia/contributors","subscribers_url":"https://api.github.com/repos/JuliaLang/julia/subscribers","subscription_url":"https://api.github.com/repos/JuliaLang/julia/subscription","commits_url":"https://api.github.com/repos/JuliaLang/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaLang/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaLang/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaLang/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaLang/julia/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaLang/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaLang/julia/merges","archive_url":"https://api.github.com/repos/JuliaLang/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaLang/julia/downloads","issues_url":"https://api.github.com/repos/JuliaLang/julia/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaLang/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaLang/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaLang/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaLang/julia/labels{/name}","releases_url":"https://api.github.com/repos/JuliaLang/julia/releases{/id}","deployments_url":"https://api.github.com/repos/JuliaLang/julia/deployments","created_at":"2011-04-21T07:01:50Z","updated_at":"2018-07-31T16:01:50Z","pushed_at":"2018-07-31T17:28:39Z","git_url":"git://github.com/JuliaLang/julia.git","ssh_url":"git@github.com:JuliaLang/julia.git","clone_url":"https://github.com/JuliaLang/julia.git","svn_url":"https://github.com/JuliaLang/julia","homepage":"https://julialang.org/","size":437186,"stargazers_count":11637,"watchers_count":11637,"language":"Julia","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2421,"mirror_url":null,"archived":false,"open_issues_count":2632,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2421,"open_issues":2632,"watchers":11637,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/28368"},"html":{"href":"https://github.com/JuliaLang/julia/pull/28368"},"issue":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/28368"},"comments":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/28368/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/28368/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/28368/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaLang/julia/statuses/958ed0d72ea1163b1e73b249388d4c997d6360ca"}},"author_association":"NONE"}}
{"actor":{"display_login":"yuyichao"}}