{"action":"created","comment":{"url":"https://api.github.com/repos/bang590/JSPatch/pulls/comments/75504884","id":75504884,"diff_hunk":"@@ -99,6 +99,41 @@ + (void)main:(JSContext *)context\n         *((__unsafe_unretained id *)m) = obj;\n     };\n     \n+    context[@\"assignScalarTypePointer\"] = ^void(JSValue *jsVal, JSValue *value, NSString *type) {","path":"Extensions/JPCFunction/JPMemory.m","position":4,"original_position":4,"commit_id":"df70ed0cd355d6c64ee8ee3effc93f936854c88c","original_commit_id":"df70ed0cd355d6c64ee8ee3effc93f936854c88c","user":{"login":"bang590","id":329480,"avatar_url":"https://avatars.githubusercontent.com/u/329480?v=3","gravatar_id":"","url":"https://api.github.com/users/bang590","html_url":"https://github.com/bang590","followers_url":"https://api.github.com/users/bang590/followers","following_url":"https://api.github.com/users/bang590/following{/other_user}","gists_url":"https://api.github.com/users/bang590/gists{/gist_id}","starred_url":"https://api.github.com/users/bang590/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bang590/subscriptions","organizations_url":"https://api.github.com/users/bang590/orgs","repos_url":"https://api.github.com/users/bang590/repos","events_url":"https://api.github.com/users/bang590/events{/privacy}","received_events_url":"https://api.github.com/users/bang590/received_events","type":"User","site_admin":false},"body":"不好意思我看错了","created_at":"2016-08-19T15:43:19Z","updated_at":"2016-08-19T15:43:19Z","html_url":"https://github.com/bang590/JSPatch/pull/514#discussion_r75504884","pull_request_url":"https://api.github.com/repos/bang590/JSPatch/pulls/514","_links":{"self":{"href":"https://api.github.com/repos/bang590/JSPatch/pulls/comments/75504884"},"html":{"href":"https://github.com/bang590/JSPatch/pull/514#discussion_r75504884"},"pull_request":{"href":"https://api.github.com/repos/bang590/JSPatch/pulls/514"}}},"pull_request":{"url":"https://api.github.com/repos/bang590/JSPatch/pulls/514","id":81497030,"html_url":"https://github.com/bang590/JSPatch/pull/514","diff_url":"https://github.com/bang590/JSPatch/pull/514.diff","patch_url":"https://github.com/bang590/JSPatch/pull/514.patch","issue_url":"https://api.github.com/repos/bang590/JSPatch/issues/514","number":514,"state":"open","locked":false,"title":"refine rewriting the invocation of a block with scalar-type args with JS","user":{"login":"aochuih","id":4971341,"avatar_url":"https://avatars.githubusercontent.com/u/4971341?v=3","gravatar_id":"","url":"https://api.github.com/users/aochuih","html_url":"https://github.com/aochuih","followers_url":"https://api.github.com/users/aochuih/followers","following_url":"https://api.github.com/users/aochuih/following{/other_user}","gists_url":"https://api.github.com/users/aochuih/gists{/gist_id}","starred_url":"https://api.github.com/users/aochuih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aochuih/subscriptions","organizations_url":"https://api.github.com/users/aochuih/orgs","repos_url":"https://api.github.com/users/aochuih/repos","events_url":"https://api.github.com/users/aochuih/events{/privacy}","received_events_url":"https://api.github.com/users/aochuih/received_events","type":"User","site_admin":false},"body":"这个提交是源自这个问题: \r\n用JS重写调用类似enumerateLinesUsingBlock:方法时会crash。\r\n #515  : )","created_at":"2016-08-16T15:54:34Z","updated_at":"2016-08-19T15:43:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"592046c56f6558df9398966e988b8071ab20ad00","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bang590/JSPatch/pulls/514/commits","review_comments_url":"https://api.github.com/repos/bang590/JSPatch/pulls/514/comments","review_comment_url":"https://api.github.com/repos/bang590/JSPatch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bang590/JSPatch/issues/514/comments","statuses_url":"https://api.github.com/repos/bang590/JSPatch/statuses/df70ed0cd355d6c64ee8ee3effc93f936854c88c","head":{"label":"aochuih:block_with_scalar_type_pointer","ref":"block_with_scalar_type_pointer","sha":"df70ed0cd355d6c64ee8ee3effc93f936854c88c","user":{"login":"aochuih","id":4971341,"avatar_url":"https://avatars.githubusercontent.com/u/4971341?v=3","gravatar_id":"","url":"https://api.github.com/users/aochuih","html_url":"https://github.com/aochuih","followers_url":"https://api.github.com/users/aochuih/followers","following_url":"https://api.github.com/users/aochuih/following{/other_user}","gists_url":"https://api.github.com/users/aochuih/gists{/gist_id}","starred_url":"https://api.github.com/users/aochuih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aochuih/subscriptions","organizations_url":"https://api.github.com/users/aochuih/orgs","repos_url":"https://api.github.com/users/aochuih/repos","events_url":"https://api.github.com/users/aochuih/events{/privacy}","received_events_url":"https://api.github.com/users/aochuih/received_events","type":"User","site_admin":false},"repo":{"id":64669734,"name":"JSPatch","full_name":"aochuih/JSPatch","owner":{"login":"aochuih","id":4971341,"avatar_url":"https://avatars.githubusercontent.com/u/4971341?v=3","gravatar_id":"","url":"https://api.github.com/users/aochuih","html_url":"https://github.com/aochuih","followers_url":"https://api.github.com/users/aochuih/followers","following_url":"https://api.github.com/users/aochuih/following{/other_user}","gists_url":"https://api.github.com/users/aochuih/gists{/gist_id}","starred_url":"https://api.github.com/users/aochuih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aochuih/subscriptions","organizations_url":"https://api.github.com/users/aochuih/orgs","repos_url":"https://api.github.com/users/aochuih/repos","events_url":"https://api.github.com/users/aochuih/events{/privacy}","received_events_url":"https://api.github.com/users/aochuih/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aochuih/JSPatch","description":"JSPatch bridge Objective-C and Javascript using the Objective-C runtime. You can call any Objective-C class and method in JavaScript by just including a small engine. JSPatch is generally use for hotfix iOS App.","fork":true,"url":"https://api.github.com/repos/aochuih/JSPatch","forks_url":"https://api.github.com/repos/aochuih/JSPatch/forks","keys_url":"https://api.github.com/repos/aochuih/JSPatch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aochuih/JSPatch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aochuih/JSPatch/teams","hooks_url":"https://api.github.com/repos/aochuih/JSPatch/hooks","issue_events_url":"https://api.github.com/repos/aochuih/JSPatch/issues/events{/number}","events_url":"https://api.github.com/repos/aochuih/JSPatch/events","assignees_url":"https://api.github.com/repos/aochuih/JSPatch/assignees{/user}","branches_url":"https://api.github.com/repos/aochuih/JSPatch/branches{/branch}","tags_url":"https://api.github.com/repos/aochuih/JSPatch/tags","blobs_url":"https://api.github.com/repos/aochuih/JSPatch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aochuih/JSPatch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aochuih/JSPatch/git/refs{/sha}","trees_url":"https://api.github.com/repos/aochuih/JSPatch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aochuih/JSPatch/statuses/{sha}","languages_url":"https://api.github.com/repos/aochuih/JSPatch/languages","stargazers_url":"https://api.github.com/repos/aochuih/JSPatch/stargazers","contributors_url":"https://api.github.com/repos/aochuih/JSPatch/contributors","subscribers_url":"https://api.github.com/repos/aochuih/JSPatch/subscribers","subscription_url":"https://api.github.com/repos/aochuih/JSPatch/subscription","commits_url":"https://api.github.com/repos/aochuih/JSPatch/commits{/sha}","git_commits_url":"https://api.github.com/repos/aochuih/JSPatch/git/commits{/sha}","comments_url":"https://api.github.com/repos/aochuih/JSPatch/comments{/number}","issue_comment_url":"https://api.github.com/repos/aochuih/JSPatch/issues/comments{/number}","contents_url":"https://api.github.com/repos/aochuih/JSPatch/contents/{+path}","compare_url":"https://api.github.com/repos/aochuih/JSPatch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aochuih/JSPatch/merges","archive_url":"https://api.github.com/repos/aochuih/JSPatch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aochuih/JSPatch/downloads","issues_url":"https://api.github.com/repos/aochuih/JSPatch/issues{/number}","pulls_url":"https://api.github.com/repos/aochuih/JSPatch/pulls{/number}","milestones_url":"https://api.github.com/repos/aochuih/JSPatch/milestones{/number}","notifications_url":"https://api.github.com/repos/aochuih/JSPatch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aochuih/JSPatch/labels{/name}","releases_url":"https://api.github.com/repos/aochuih/JSPatch/releases{/id}","deployments_url":"https://api.github.com/repos/aochuih/JSPatch/deployments","created_at":"2016-08-01T13:35:24Z","updated_at":"2016-08-01T13:35:26Z","pushed_at":"2016-08-16T15:53:10Z","git_url":"git://github.com/aochuih/JSPatch.git","ssh_url":"git@github.com:aochuih/JSPatch.git","clone_url":"https://github.com/aochuih/JSPatch.git","svn_url":"https://github.com/aochuih/JSPatch","homepage":"","size":6769,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"bang590:master","ref":"master","sha":"62c0bbff88325f61d45450cf27178d9242ca93cb","user":{"login":"bang590","id":329480,"avatar_url":"https://avatars.githubusercontent.com/u/329480?v=3","gravatar_id":"","url":"https://api.github.com/users/bang590","html_url":"https://github.com/bang590","followers_url":"https://api.github.com/users/bang590/followers","following_url":"https://api.github.com/users/bang590/following{/other_user}","gists_url":"https://api.github.com/users/bang590/gists{/gist_id}","starred_url":"https://api.github.com/users/bang590/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bang590/subscriptions","organizations_url":"https://api.github.com/users/bang590/orgs","repos_url":"https://api.github.com/users/bang590/repos","events_url":"https://api.github.com/users/bang590/events{/privacy}","received_events_url":"https://api.github.com/users/bang590/received_events","type":"User","site_admin":false},"repo":{"id":36205608,"name":"JSPatch","full_name":"bang590/JSPatch","owner":{"login":"bang590","id":329480,"avatar_url":"https://avatars.githubusercontent.com/u/329480?v=3","gravatar_id":"","url":"https://api.github.com/users/bang590","html_url":"https://github.com/bang590","followers_url":"https://api.github.com/users/bang590/followers","following_url":"https://api.github.com/users/bang590/following{/other_user}","gists_url":"https://api.github.com/users/bang590/gists{/gist_id}","starred_url":"https://api.github.com/users/bang590/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bang590/subscriptions","organizations_url":"https://api.github.com/users/bang590/orgs","repos_url":"https://api.github.com/users/bang590/repos","events_url":"https://api.github.com/users/bang590/events{/privacy}","received_events_url":"https://api.github.com/users/bang590/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bang590/JSPatch","description":"JSPatch bridge Objective-C and Javascript using the Objective-C runtime. You can call any Objective-C class and method in JavaScript by just including a small engine. JSPatch is generally used to hotfix iOS App.","fork":false,"url":"https://api.github.com/repos/bang590/JSPatch","forks_url":"https://api.github.com/repos/bang590/JSPatch/forks","keys_url":"https://api.github.com/repos/bang590/JSPatch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bang590/JSPatch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bang590/JSPatch/teams","hooks_url":"https://api.github.com/repos/bang590/JSPatch/hooks","issue_events_url":"https://api.github.com/repos/bang590/JSPatch/issues/events{/number}","events_url":"https://api.github.com/repos/bang590/JSPatch/events","assignees_url":"https://api.github.com/repos/bang590/JSPatch/assignees{/user}","branches_url":"https://api.github.com/repos/bang590/JSPatch/branches{/branch}","tags_url":"https://api.github.com/repos/bang590/JSPatch/tags","blobs_url":"https://api.github.com/repos/bang590/JSPatch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bang590/JSPatch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bang590/JSPatch/git/refs{/sha}","trees_url":"https://api.github.com/repos/bang590/JSPatch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bang590/JSPatch/statuses/{sha}","languages_url":"https://api.github.com/repos/bang590/JSPatch/languages","stargazers_url":"https://api.github.com/repos/bang590/JSPatch/stargazers","contributors_url":"https://api.github.com/repos/bang590/JSPatch/contributors","subscribers_url":"https://api.github.com/repos/bang590/JSPatch/subscribers","subscription_url":"https://api.github.com/repos/bang590/JSPatch/subscription","commits_url":"https://api.github.com/repos/bang590/JSPatch/commits{/sha}","git_commits_url":"https://api.github.com/repos/bang590/JSPatch/git/commits{/sha}","comments_url":"https://api.github.com/repos/bang590/JSPatch/comments{/number}","issue_comment_url":"https://api.github.com/repos/bang590/JSPatch/issues/comments{/number}","contents_url":"https://api.github.com/repos/bang590/JSPatch/contents/{+path}","compare_url":"https://api.github.com/repos/bang590/JSPatch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bang590/JSPatch/merges","archive_url":"https://api.github.com/repos/bang590/JSPatch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bang590/JSPatch/downloads","issues_url":"https://api.github.com/repos/bang590/JSPatch/issues{/number}","pulls_url":"https://api.github.com/repos/bang590/JSPatch/pulls{/number}","milestones_url":"https://api.github.com/repos/bang590/JSPatch/milestones{/number}","notifications_url":"https://api.github.com/repos/bang590/JSPatch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bang590/JSPatch/labels{/name}","releases_url":"https://api.github.com/repos/bang590/JSPatch/releases{/id}","deployments_url":"https://api.github.com/repos/bang590/JSPatch/deployments","created_at":"2015-05-25T02:37:22Z","updated_at":"2016-08-19T14:17:39Z","pushed_at":"2016-08-18T02:45:18Z","git_url":"git://github.com/bang590/JSPatch.git","ssh_url":"git@github.com:bang590/JSPatch.git","clone_url":"https://github.com/bang590/JSPatch.git","svn_url":"https://github.com/bang590/JSPatch","homepage":"","size":16210,"stargazers_count":6965,"watchers_count":6965,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1512,"mirror_url":null,"open_issues_count":49,"forks":1512,"open_issues":49,"watchers":6965,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bang590/JSPatch/pulls/514"},"html":{"href":"https://github.com/bang590/JSPatch/pull/514"},"issue":{"href":"https://api.github.com/repos/bang590/JSPatch/issues/514"},"comments":{"href":"https://api.github.com/repos/bang590/JSPatch/issues/514/comments"},"review_comments":{"href":"https://api.github.com/repos/bang590/JSPatch/pulls/514/comments"},"review_comment":{"href":"https://api.github.com/repos/bang590/JSPatch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bang590/JSPatch/pulls/514/commits"},"statuses":{"href":"https://api.github.com/repos/bang590/JSPatch/statuses/df70ed0cd355d6c64ee8ee3effc93f936854c88c"}}}}
{"actor":{"display_login":"bang590"}}