{"action":"created","comment":{"url":"https://api.github.com/repos/ikeyasu/arduino-mock/pulls/comments/22397984","id":22397984,"diff_hunk":"@@ -17,7 +17,9 @@ extern \"C\"{\n #define OUTPUT 0x1\n #define INPUT_PULLUP 0x2\n \n-#ifndef WIN32\n+#ifdef WIN32\n+#elif linux","path":"include/arduino-mock/arduino.h","position":6,"original_position":6,"commit_id":"267bb507c9964c97b0f98716dd219fbb0229edce","original_commit_id":"267bb507c9964c97b0f98716dd219fbb0229edce","user":{"login":"aYasukiIkeuchi","id":594227,"avatar_url":"https://avatars.githubusercontent.com/u/594227?v=3","gravatar_id":"","url":"https://api.github.com/users/aYasukiIkeuchi","html_url":"https://github.com/aYasukiIkeuchi","followers_url":"https://api.github.com/users/aYasukiIkeuchi/followers","following_url":"https://api.github.com/users/aYasukiIkeuchi/following{/other_user}","gists_url":"https://api.github.com/users/aYasukiIkeuchi/gists{/gist_id}","starred_url":"https://api.github.com/users/aYasukiIkeuchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aYasukiIkeuchi/subscriptions","organizations_url":"https://api.github.com/users/aYasukiIkeuchi/orgs","repos_url":"https://api.github.com/users/aYasukiIkeuchi/repos","events_url":"https://api.github.com/users/aYasukiIkeuchi/events{/privacy}","received_events_url":"https://api.github.com/users/aYasukiIkeuchi/received_events","type":"User","site_admin":false},"body":":+1: ","created_at":"2015-01-01T04:06:26Z","updated_at":"2015-01-01T04:06:26Z","html_url":"https://github.com/ikeyasu/arduino-mock/pull/16#discussion_r22397984","pull_request_url":"https://api.github.com/repos/ikeyasu/arduino-mock/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/ikeyasu/arduino-mock/pulls/comments/22397984"},"html":{"href":"https://github.com/ikeyasu/arduino-mock/pull/16#discussion_r22397984"},"pull_request":{"href":"https://api.github.com/repos/ikeyasu/arduino-mock/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/ikeyasu/arduino-mock/pulls/16","id":26739355,"html_url":"https://github.com/ikeyasu/arduino-mock/pull/16","diff_url":"https://github.com/ikeyasu/arduino-mock/pull/16.diff","patch_url":"https://github.com/ikeyasu/arduino-mock/pull/16.patch","issue_url":"https://api.github.com/repos/ikeyasu/arduino-mock/issues/16","number":16,"state":"open","locked":false,"title":"Minor fixes","user":{"login":"frznlogic","id":6243348,"avatar_url":"https://avatars.githubusercontent.com/u/6243348?v=3","gravatar_id":"","url":"https://api.github.com/users/frznlogic","html_url":"https://github.com/frznlogic","followers_url":"https://api.github.com/users/frznlogic/followers","following_url":"https://api.github.com/users/frznlogic/following{/other_user}","gists_url":"https://api.github.com/users/frznlogic/gists{/gist_id}","starred_url":"https://api.github.com/users/frznlogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frznlogic/subscriptions","organizations_url":"https://api.github.com/users/frznlogic/orgs","repos_url":"https://api.github.com/users/frznlogic/repos","events_url":"https://api.github.com/users/frznlogic/events{/privacy}","received_events_url":"https://api.github.com/users/frznlogic/received_events","type":"User","site_admin":false},"body":"Added flush method to Serial. \r\nAdded Linux elseif to not redefine true/false","created_at":"2015-01-01T00:55:33Z","updated_at":"2015-01-01T04:06:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e6dd181597abdf7e55df33f1af1882f88c80964","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ikeyasu/arduino-mock/pulls/16/commits","review_comments_url":"https://api.github.com/repos/ikeyasu/arduino-mock/pulls/16/comments","review_comment_url":"https://api.github.com/repos/ikeyasu/arduino-mock/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ikeyasu/arduino-mock/issues/16/comments","statuses_url":"https://api.github.com/repos/ikeyasu/arduino-mock/statuses/267bb507c9964c97b0f98716dd219fbb0229edce","head":{"label":"frznlogic:master","ref":"master","sha":"267bb507c9964c97b0f98716dd219fbb0229edce","user":{"login":"frznlogic","id":6243348,"avatar_url":"https://avatars.githubusercontent.com/u/6243348?v=3","gravatar_id":"","url":"https://api.github.com/users/frznlogic","html_url":"https://github.com/frznlogic","followers_url":"https://api.github.com/users/frznlogic/followers","following_url":"https://api.github.com/users/frznlogic/following{/other_user}","gists_url":"https://api.github.com/users/frznlogic/gists{/gist_id}","starred_url":"https://api.github.com/users/frznlogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frznlogic/subscriptions","organizations_url":"https://api.github.com/users/frznlogic/orgs","repos_url":"https://api.github.com/users/frznlogic/repos","events_url":"https://api.github.com/users/frznlogic/events{/privacy}","received_events_url":"https://api.github.com/users/frznlogic/received_events","type":"User","site_admin":false},"repo":{"id":28635941,"name":"arduino-mock","full_name":"frznlogic/arduino-mock","owner":{"login":"frznlogic","id":6243348,"avatar_url":"https://avatars.githubusercontent.com/u/6243348?v=3","gravatar_id":"","url":"https://api.github.com/users/frznlogic","html_url":"https://github.com/frznlogic","followers_url":"https://api.github.com/users/frznlogic/followers","following_url":"https://api.github.com/users/frznlogic/following{/other_user}","gists_url":"https://api.github.com/users/frznlogic/gists{/gist_id}","starred_url":"https://api.github.com/users/frznlogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frznlogic/subscriptions","organizations_url":"https://api.github.com/users/frznlogic/orgs","repos_url":"https://api.github.com/users/frznlogic/repos","events_url":"https://api.github.com/users/frznlogic/events{/privacy}","received_events_url":"https://api.github.com/users/frznlogic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/frznlogic/arduino-mock","description":"A GMock stub library to simulate the arduino envirinment","fork":true,"url":"https://api.github.com/repos/frznlogic/arduino-mock","forks_url":"https://api.github.com/repos/frznlogic/arduino-mock/forks","keys_url":"https://api.github.com/repos/frznlogic/arduino-mock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frznlogic/arduino-mock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frznlogic/arduino-mock/teams","hooks_url":"https://api.github.com/repos/frznlogic/arduino-mock/hooks","issue_events_url":"https://api.github.com/repos/frznlogic/arduino-mock/issues/events{/number}","events_url":"https://api.github.com/repos/frznlogic/arduino-mock/events","assignees_url":"https://api.github.com/repos/frznlogic/arduino-mock/assignees{/user}","branches_url":"https://api.github.com/repos/frznlogic/arduino-mock/branches{/branch}","tags_url":"https://api.github.com/repos/frznlogic/arduino-mock/tags","blobs_url":"https://api.github.com/repos/frznlogic/arduino-mock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frznlogic/arduino-mock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frznlogic/arduino-mock/git/refs{/sha}","trees_url":"https://api.github.com/repos/frznlogic/arduino-mock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frznlogic/arduino-mock/statuses/{sha}","languages_url":"https://api.github.com/repos/frznlogic/arduino-mock/languages","stargazers_url":"https://api.github.com/repos/frznlogic/arduino-mock/stargazers","contributors_url":"https://api.github.com/repos/frznlogic/arduino-mock/contributors","subscribers_url":"https://api.github.com/repos/frznlogic/arduino-mock/subscribers","subscription_url":"https://api.github.com/repos/frznlogic/arduino-mock/subscription","commits_url":"https://api.github.com/repos/frznlogic/arduino-mock/commits{/sha}","git_commits_url":"https://api.github.com/repos/frznlogic/arduino-mock/git/commits{/sha}","comments_url":"https://api.github.com/repos/frznlogic/arduino-mock/comments{/number}","issue_comment_url":"https://api.github.com/repos/frznlogic/arduino-mock/issues/comments/{number}","contents_url":"https://api.github.com/repos/frznlogic/arduino-mock/contents/{+path}","compare_url":"https://api.github.com/repos/frznlogic/arduino-mock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frznlogic/arduino-mock/merges","archive_url":"https://api.github.com/repos/frznlogic/arduino-mock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frznlogic/arduino-mock/downloads","issues_url":"https://api.github.com/repos/frznlogic/arduino-mock/issues{/number}","pulls_url":"https://api.github.com/repos/frznlogic/arduino-mock/pulls{/number}","milestones_url":"https://api.github.com/repos/frznlogic/arduino-mock/milestones{/number}","notifications_url":"https://api.github.com/repos/frznlogic/arduino-mock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frznlogic/arduino-mock/labels{/name}","releases_url":"https://api.github.com/repos/frznlogic/arduino-mock/releases{/id}","created_at":"2014-12-30T15:40:53Z","updated_at":"2015-01-01T00:48:36Z","pushed_at":"2015-01-01T00:48:36Z","git_url":"git://github.com/frznlogic/arduino-mock.git","ssh_url":"git@github.com:frznlogic/arduino-mock.git","clone_url":"https://github.com/frznlogic/arduino-mock.git","svn_url":"https://github.com/frznlogic/arduino-mock","homepage":null,"size":143,"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":"ikeyasu:master","ref":"master","sha":"ab8fc2b28b01222331eb6496057357099e7c0316","user":{"login":"ikeyasu","id":329257,"avatar_url":"https://avatars.githubusercontent.com/u/329257?v=3","gravatar_id":"","url":"https://api.github.com/users/ikeyasu","html_url":"https://github.com/ikeyasu","followers_url":"https://api.github.com/users/ikeyasu/followers","following_url":"https://api.github.com/users/ikeyasu/following{/other_user}","gists_url":"https://api.github.com/users/ikeyasu/gists{/gist_id}","starred_url":"https://api.github.com/users/ikeyasu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikeyasu/subscriptions","organizations_url":"https://api.github.com/users/ikeyasu/orgs","repos_url":"https://api.github.com/users/ikeyasu/repos","events_url":"https://api.github.com/users/ikeyasu/events{/privacy}","received_events_url":"https://api.github.com/users/ikeyasu/received_events","type":"User","site_admin":false},"repo":{"id":23832242,"name":"arduino-mock","full_name":"ikeyasu/arduino-mock","owner":{"login":"ikeyasu","id":329257,"avatar_url":"https://avatars.githubusercontent.com/u/329257?v=3","gravatar_id":"","url":"https://api.github.com/users/ikeyasu","html_url":"https://github.com/ikeyasu","followers_url":"https://api.github.com/users/ikeyasu/followers","following_url":"https://api.github.com/users/ikeyasu/following{/other_user}","gists_url":"https://api.github.com/users/ikeyasu/gists{/gist_id}","starred_url":"https://api.github.com/users/ikeyasu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikeyasu/subscriptions","organizations_url":"https://api.github.com/users/ikeyasu/orgs","repos_url":"https://api.github.com/users/ikeyasu/repos","events_url":"https://api.github.com/users/ikeyasu/events{/privacy}","received_events_url":"https://api.github.com/users/ikeyasu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ikeyasu/arduino-mock","description":"A GMock stub library to simulate the arduino envirinment","fork":true,"url":"https://api.github.com/repos/ikeyasu/arduino-mock","forks_url":"https://api.github.com/repos/ikeyasu/arduino-mock/forks","keys_url":"https://api.github.com/repos/ikeyasu/arduino-mock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ikeyasu/arduino-mock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ikeyasu/arduino-mock/teams","hooks_url":"https://api.github.com/repos/ikeyasu/arduino-mock/hooks","issue_events_url":"https://api.github.com/repos/ikeyasu/arduino-mock/issues/events{/number}","events_url":"https://api.github.com/repos/ikeyasu/arduino-mock/events","assignees_url":"https://api.github.com/repos/ikeyasu/arduino-mock/assignees{/user}","branches_url":"https://api.github.com/repos/ikeyasu/arduino-mock/branches{/branch}","tags_url":"https://api.github.com/repos/ikeyasu/arduino-mock/tags","blobs_url":"https://api.github.com/repos/ikeyasu/arduino-mock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ikeyasu/arduino-mock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ikeyasu/arduino-mock/git/refs{/sha}","trees_url":"https://api.github.com/repos/ikeyasu/arduino-mock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ikeyasu/arduino-mock/statuses/{sha}","languages_url":"https://api.github.com/repos/ikeyasu/arduino-mock/languages","stargazers_url":"https://api.github.com/repos/ikeyasu/arduino-mock/stargazers","contributors_url":"https://api.github.com/repos/ikeyasu/arduino-mock/contributors","subscribers_url":"https://api.github.com/repos/ikeyasu/arduino-mock/subscribers","subscription_url":"https://api.github.com/repos/ikeyasu/arduino-mock/subscription","commits_url":"https://api.github.com/repos/ikeyasu/arduino-mock/commits{/sha}","git_commits_url":"https://api.github.com/repos/ikeyasu/arduino-mock/git/commits{/sha}","comments_url":"https://api.github.com/repos/ikeyasu/arduino-mock/comments{/number}","issue_comment_url":"https://api.github.com/repos/ikeyasu/arduino-mock/issues/comments/{number}","contents_url":"https://api.github.com/repos/ikeyasu/arduino-mock/contents/{+path}","compare_url":"https://api.github.com/repos/ikeyasu/arduino-mock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ikeyasu/arduino-mock/merges","archive_url":"https://api.github.com/repos/ikeyasu/arduino-mock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ikeyasu/arduino-mock/downloads","issues_url":"https://api.github.com/repos/ikeyasu/arduino-mock/issues{/number}","pulls_url":"https://api.github.com/repos/ikeyasu/arduino-mock/pulls{/number}","milestones_url":"https://api.github.com/repos/ikeyasu/arduino-mock/milestones{/number}","notifications_url":"https://api.github.com/repos/ikeyasu/arduino-mock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ikeyasu/arduino-mock/labels{/name}","releases_url":"https://api.github.com/repos/ikeyasu/arduino-mock/releases{/id}","created_at":"2014-09-09T12:20:30Z","updated_at":"2014-11-23T05:47:24Z","pushed_at":"2014-10-06T01:35:44Z","git_url":"git://github.com/ikeyasu/arduino-mock.git","ssh_url":"git@github.com:ikeyasu/arduino-mock.git","clone_url":"https://github.com/ikeyasu/arduino-mock.git","svn_url":"https://github.com/ikeyasu/arduino-mock","homepage":null,"size":466,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ikeyasu/arduino-mock/pulls/16"},"html":{"href":"https://github.com/ikeyasu/arduino-mock/pull/16"},"issue":{"href":"https://api.github.com/repos/ikeyasu/arduino-mock/issues/16"},"comments":{"href":"https://api.github.com/repos/ikeyasu/arduino-mock/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/ikeyasu/arduino-mock/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/ikeyasu/arduino-mock/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ikeyasu/arduino-mock/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/ikeyasu/arduino-mock/statuses/267bb507c9964c97b0f98716dd219fbb0229edce"}}}}