{"action":"opened","number":95,"pull_request":{"url":"https://api.github.com/repos/haskell-game/sdl2/pulls/95","id":48003892,"html_url":"https://github.com/haskell-game/sdl2/pull/95","diff_url":"https://github.com/haskell-game/sdl2/pull/95.diff","patch_url":"https://github.com/haskell-game/sdl2/pull/95.patch","issue_url":"https://api.github.com/repos/haskell-game/sdl2/issues/95","number":95,"state":"open","locked":false,"title":"No easy way to retrieve Raw pixel formats #94","user":{"login":"afwlehmann","id":100929,"avatar_url":"https://avatars.githubusercontent.com/u/100929?v=3","gravatar_id":"","url":"https://api.github.com/users/afwlehmann","html_url":"https://github.com/afwlehmann","followers_url":"https://api.github.com/users/afwlehmann/followers","following_url":"https://api.github.com/users/afwlehmann/following{/other_user}","gists_url":"https://api.github.com/users/afwlehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/afwlehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afwlehmann/subscriptions","organizations_url":"https://api.github.com/users/afwlehmann/orgs","repos_url":"https://api.github.com/users/afwlehmann/repos","events_url":"https://api.github.com/users/afwlehmann/events{/privacy}","received_events_url":"https://api.github.com/users/afwlehmann/received_events","type":"User","site_admin":false},"body":"Possible fix for issue #94. Let me know if this would be ok for you so that I could adapt the rest of the code and examples to match the new signatures.","created_at":"2015-10-18T08:03:12Z","updated_at":"2015-10-18T08:03:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/haskell-game/sdl2/pulls/95/commits","review_comments_url":"https://api.github.com/repos/haskell-game/sdl2/pulls/95/comments","review_comment_url":"https://api.github.com/repos/haskell-game/sdl2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/haskell-game/sdl2/issues/95/comments","statuses_url":"https://api.github.com/repos/haskell-game/sdl2/statuses/157a606c918d56afaa19199f6c9fe1820c6eb229","head":{"label":"afwlehmann:issue-94","ref":"issue-94","sha":"157a606c918d56afaa19199f6c9fe1820c6eb229","user":{"login":"afwlehmann","id":100929,"avatar_url":"https://avatars.githubusercontent.com/u/100929?v=3","gravatar_id":"","url":"https://api.github.com/users/afwlehmann","html_url":"https://github.com/afwlehmann","followers_url":"https://api.github.com/users/afwlehmann/followers","following_url":"https://api.github.com/users/afwlehmann/following{/other_user}","gists_url":"https://api.github.com/users/afwlehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/afwlehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afwlehmann/subscriptions","organizations_url":"https://api.github.com/users/afwlehmann/orgs","repos_url":"https://api.github.com/users/afwlehmann/repos","events_url":"https://api.github.com/users/afwlehmann/events{/privacy}","received_events_url":"https://api.github.com/users/afwlehmann/received_events","type":"User","site_admin":false},"repo":{"id":25452083,"name":"sdl2","full_name":"afwlehmann/sdl2","owner":{"login":"afwlehmann","id":100929,"avatar_url":"https://avatars.githubusercontent.com/u/100929?v=3","gravatar_id":"","url":"https://api.github.com/users/afwlehmann","html_url":"https://github.com/afwlehmann","followers_url":"https://api.github.com/users/afwlehmann/followers","following_url":"https://api.github.com/users/afwlehmann/following{/other_user}","gists_url":"https://api.github.com/users/afwlehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/afwlehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afwlehmann/subscriptions","organizations_url":"https://api.github.com/users/afwlehmann/orgs","repos_url":"https://api.github.com/users/afwlehmann/repos","events_url":"https://api.github.com/users/afwlehmann/events{/privacy}","received_events_url":"https://api.github.com/users/afwlehmann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/afwlehmann/sdl2","description":"Haskell bindings to the SDL2 library","fork":true,"url":"https://api.github.com/repos/afwlehmann/sdl2","forks_url":"https://api.github.com/repos/afwlehmann/sdl2/forks","keys_url":"https://api.github.com/repos/afwlehmann/sdl2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/afwlehmann/sdl2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/afwlehmann/sdl2/teams","hooks_url":"https://api.github.com/repos/afwlehmann/sdl2/hooks","issue_events_url":"https://api.github.com/repos/afwlehmann/sdl2/issues/events{/number}","events_url":"https://api.github.com/repos/afwlehmann/sdl2/events","assignees_url":"https://api.github.com/repos/afwlehmann/sdl2/assignees{/user}","branches_url":"https://api.github.com/repos/afwlehmann/sdl2/branches{/branch}","tags_url":"https://api.github.com/repos/afwlehmann/sdl2/tags","blobs_url":"https://api.github.com/repos/afwlehmann/sdl2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/afwlehmann/sdl2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/afwlehmann/sdl2/git/refs{/sha}","trees_url":"https://api.github.com/repos/afwlehmann/sdl2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/afwlehmann/sdl2/statuses/{sha}","languages_url":"https://api.github.com/repos/afwlehmann/sdl2/languages","stargazers_url":"https://api.github.com/repos/afwlehmann/sdl2/stargazers","contributors_url":"https://api.github.com/repos/afwlehmann/sdl2/contributors","subscribers_url":"https://api.github.com/repos/afwlehmann/sdl2/subscribers","subscription_url":"https://api.github.com/repos/afwlehmann/sdl2/subscription","commits_url":"https://api.github.com/repos/afwlehmann/sdl2/commits{/sha}","git_commits_url":"https://api.github.com/repos/afwlehmann/sdl2/git/commits{/sha}","comments_url":"https://api.github.com/repos/afwlehmann/sdl2/comments{/number}","issue_comment_url":"https://api.github.com/repos/afwlehmann/sdl2/issues/comments{/number}","contents_url":"https://api.github.com/repos/afwlehmann/sdl2/contents/{+path}","compare_url":"https://api.github.com/repos/afwlehmann/sdl2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/afwlehmann/sdl2/merges","archive_url":"https://api.github.com/repos/afwlehmann/sdl2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/afwlehmann/sdl2/downloads","issues_url":"https://api.github.com/repos/afwlehmann/sdl2/issues{/number}","pulls_url":"https://api.github.com/repos/afwlehmann/sdl2/pulls{/number}","milestones_url":"https://api.github.com/repos/afwlehmann/sdl2/milestones{/number}","notifications_url":"https://api.github.com/repos/afwlehmann/sdl2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/afwlehmann/sdl2/labels{/name}","releases_url":"https://api.github.com/repos/afwlehmann/sdl2/releases{/id}","created_at":"2014-10-20T05:30:42Z","updated_at":"2015-03-20T07:49:05Z","pushed_at":"2015-10-18T07:59:27Z","git_url":"git://github.com/afwlehmann/sdl2.git","ssh_url":"git@github.com:afwlehmann/sdl2.git","clone_url":"https://github.com/afwlehmann/sdl2.git","svn_url":"https://github.com/afwlehmann/sdl2","homepage":"","size":2076,"stargazers_count":0,"watchers_count":0,"language":"Haskell","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":"new-api"}},"base":{"label":"haskell-game:new-api","ref":"new-api","sha":"a5ace32ea3979ef0414ab2a5c99755ab9c570d4c","user":{"login":"haskell-game","id":4212014,"avatar_url":"https://avatars.githubusercontent.com/u/4212014?v=3","gravatar_id":"","url":"https://api.github.com/users/haskell-game","html_url":"https://github.com/haskell-game","followers_url":"https://api.github.com/users/haskell-game/followers","following_url":"https://api.github.com/users/haskell-game/following{/other_user}","gists_url":"https://api.github.com/users/haskell-game/gists{/gist_id}","starred_url":"https://api.github.com/users/haskell-game/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haskell-game/subscriptions","organizations_url":"https://api.github.com/users/haskell-game/orgs","repos_url":"https://api.github.com/users/haskell-game/repos","events_url":"https://api.github.com/users/haskell-game/events{/privacy}","received_events_url":"https://api.github.com/users/haskell-game/received_events","type":"Organization","site_admin":false},"repo":{"id":25347420,"name":"sdl2","full_name":"haskell-game/sdl2","owner":{"login":"haskell-game","id":4212014,"avatar_url":"https://avatars.githubusercontent.com/u/4212014?v=3","gravatar_id":"","url":"https://api.github.com/users/haskell-game","html_url":"https://github.com/haskell-game","followers_url":"https://api.github.com/users/haskell-game/followers","following_url":"https://api.github.com/users/haskell-game/following{/other_user}","gists_url":"https://api.github.com/users/haskell-game/gists{/gist_id}","starred_url":"https://api.github.com/users/haskell-game/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haskell-game/subscriptions","organizations_url":"https://api.github.com/users/haskell-game/orgs","repos_url":"https://api.github.com/users/haskell-game/repos","events_url":"https://api.github.com/users/haskell-game/events{/privacy}","received_events_url":"https://api.github.com/users/haskell-game/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/haskell-game/sdl2","description":"Haskell bindings to the SDL2 library","fork":false,"url":"https://api.github.com/repos/haskell-game/sdl2","forks_url":"https://api.github.com/repos/haskell-game/sdl2/forks","keys_url":"https://api.github.com/repos/haskell-game/sdl2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haskell-game/sdl2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haskell-game/sdl2/teams","hooks_url":"https://api.github.com/repos/haskell-game/sdl2/hooks","issue_events_url":"https://api.github.com/repos/haskell-game/sdl2/issues/events{/number}","events_url":"https://api.github.com/repos/haskell-game/sdl2/events","assignees_url":"https://api.github.com/repos/haskell-game/sdl2/assignees{/user}","branches_url":"https://api.github.com/repos/haskell-game/sdl2/branches{/branch}","tags_url":"https://api.github.com/repos/haskell-game/sdl2/tags","blobs_url":"https://api.github.com/repos/haskell-game/sdl2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haskell-game/sdl2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haskell-game/sdl2/git/refs{/sha}","trees_url":"https://api.github.com/repos/haskell-game/sdl2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haskell-game/sdl2/statuses/{sha}","languages_url":"https://api.github.com/repos/haskell-game/sdl2/languages","stargazers_url":"https://api.github.com/repos/haskell-game/sdl2/stargazers","contributors_url":"https://api.github.com/repos/haskell-game/sdl2/contributors","subscribers_url":"https://api.github.com/repos/haskell-game/sdl2/subscribers","subscription_url":"https://api.github.com/repos/haskell-game/sdl2/subscription","commits_url":"https://api.github.com/repos/haskell-game/sdl2/commits{/sha}","git_commits_url":"https://api.github.com/repos/haskell-game/sdl2/git/commits{/sha}","comments_url":"https://api.github.com/repos/haskell-game/sdl2/comments{/number}","issue_comment_url":"https://api.github.com/repos/haskell-game/sdl2/issues/comments{/number}","contents_url":"https://api.github.com/repos/haskell-game/sdl2/contents/{+path}","compare_url":"https://api.github.com/repos/haskell-game/sdl2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haskell-game/sdl2/merges","archive_url":"https://api.github.com/repos/haskell-game/sdl2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haskell-game/sdl2/downloads","issues_url":"https://api.github.com/repos/haskell-game/sdl2/issues{/number}","pulls_url":"https://api.github.com/repos/haskell-game/sdl2/pulls{/number}","milestones_url":"https://api.github.com/repos/haskell-game/sdl2/milestones{/number}","notifications_url":"https://api.github.com/repos/haskell-game/sdl2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haskell-game/sdl2/labels{/name}","releases_url":"https://api.github.com/repos/haskell-game/sdl2/releases{/id}","created_at":"2014-10-17T08:27:25Z","updated_at":"2015-10-15T03:43:20Z","pushed_at":"2015-10-18T08:03:13Z","git_url":"git://github.com/haskell-game/sdl2.git","ssh_url":"git@github.com:haskell-game/sdl2.git","clone_url":"https://github.com/haskell-game/sdl2.git","svn_url":"https://github.com/haskell-game/sdl2","homepage":"","size":3662,"stargazers_count":104,"watchers_count":104,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":29,"mirror_url":null,"open_issues_count":12,"forks":29,"open_issues":12,"watchers":104,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/haskell-game/sdl2/pulls/95"},"html":{"href":"https://github.com/haskell-game/sdl2/pull/95"},"issue":{"href":"https://api.github.com/repos/haskell-game/sdl2/issues/95"},"comments":{"href":"https://api.github.com/repos/haskell-game/sdl2/issues/95/comments"},"review_comments":{"href":"https://api.github.com/repos/haskell-game/sdl2/pulls/95/comments"},"review_comment":{"href":"https://api.github.com/repos/haskell-game/sdl2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/haskell-game/sdl2/pulls/95/commits"},"statuses":{"href":"https://api.github.com/repos/haskell-game/sdl2/statuses/157a606c918d56afaa19199f6c9fe1820c6eb229"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":37,"deletions":12,"changed_files":1}}