{"action":"created","comment":{"url":"https://api.github.com/repos/me-no-dev/RasPiArduino/pulls/comments/48446951","id":48446951,"diff_hunk":"@@ -142,10 +142,17 @@ void loop(void);\n \n void uart_check_fifos();\n \n+\n+\n #ifdef __cplusplus\n } // extern \"C\"\n #endif\n \n+// WMath prototypes\n+long random(long);\n+long random(long, long);\n+void randomSeed(unsigned long);\n+","path":"cores/piduino/Arduino.h","position":14,"original_position":14,"commit_id":"8063703fd0a5ff179c59bcbcaa5e25ce07a7e8b2","original_commit_id":"8063703fd0a5ff179c59bcbcaa5e25ce07a7e8b2","user":{"login":"me-no-dev","id":12663778,"avatar_url":"https://avatars.githubusercontent.com/u/12663778?v=3","gravatar_id":"","url":"https://api.github.com/users/me-no-dev","html_url":"https://github.com/me-no-dev","followers_url":"https://api.github.com/users/me-no-dev/followers","following_url":"https://api.github.com/users/me-no-dev/following{/other_user}","gists_url":"https://api.github.com/users/me-no-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/me-no-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/me-no-dev/subscriptions","organizations_url":"https://api.github.com/users/me-no-dev/orgs","repos_url":"https://api.github.com/users/me-no-dev/repos","events_url":"https://api.github.com/users/me-no-dev/events{/privacy}","received_events_url":"https://api.github.com/users/me-no-dev/received_events","type":"User","site_admin":false},"body":"those random definitions need to go where makeWord is defined below. That will ensure that the overload is defined only in C++ and C files including the Arduino header will compile fine","created_at":"2015-12-26T12:31:06Z","updated_at":"2015-12-26T12:31:06Z","html_url":"https://github.com/me-no-dev/RasPiArduino/pull/13#discussion_r48446951","pull_request_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/me-no-dev/RasPiArduino/pulls/comments/48446951"},"html":{"href":"https://github.com/me-no-dev/RasPiArduino/pull/13#discussion_r48446951"},"pull_request":{"href":"https://api.github.com/repos/me-no-dev/RasPiArduino/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/me-no-dev/RasPiArduino/pulls/13","id":54566777,"html_url":"https://github.com/me-no-dev/RasPiArduino/pull/13","diff_url":"https://github.com/me-no-dev/RasPiArduino/pull/13.diff","patch_url":"https://github.com/me-no-dev/RasPiArduino/pull/13.patch","issue_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/issues/13","number":13,"state":"open","locked":false,"title":"Example for the DHT22 using Console","user":{"login":"nkolban","id":3421732,"avatar_url":"https://avatars.githubusercontent.com/u/3421732?v=3","gravatar_id":"","url":"https://api.github.com/users/nkolban","html_url":"https://github.com/nkolban","followers_url":"https://api.github.com/users/nkolban/followers","following_url":"https://api.github.com/users/nkolban/following{/other_user}","gists_url":"https://api.github.com/users/nkolban/gists{/gist_id}","starred_url":"https://api.github.com/users/nkolban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkolban/subscriptions","organizations_url":"https://api.github.com/users/nkolban/orgs","repos_url":"https://api.github.com/users/nkolban/repos","events_url":"https://api.github.com/users/nkolban/events{/privacy}","received_events_url":"https://api.github.com/users/nkolban/received_events","type":"User","site_admin":false},"body":"Example of DHT22 using Console as opposed to serial.","created_at":"2015-12-24T21:37:01Z","updated_at":"2015-12-26T12:31:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d59c420a26551e041ca5abda37c52b8df1ca9d51","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/pulls/13/commits","review_comments_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/pulls/13/comments","review_comment_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/pulls/comments{/number}","comments_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/issues/13/comments","statuses_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/statuses/8063703fd0a5ff179c59bcbcaa5e25ce07a7e8b2","head":{"label":"me-no-dev:Kolban_2015_12_24_2","ref":"Kolban_2015_12_24_2","sha":"8063703fd0a5ff179c59bcbcaa5e25ce07a7e8b2","user":{"login":"me-no-dev","id":12663778,"avatar_url":"https://avatars.githubusercontent.com/u/12663778?v=3","gravatar_id":"","url":"https://api.github.com/users/me-no-dev","html_url":"https://github.com/me-no-dev","followers_url":"https://api.github.com/users/me-no-dev/followers","following_url":"https://api.github.com/users/me-no-dev/following{/other_user}","gists_url":"https://api.github.com/users/me-no-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/me-no-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/me-no-dev/subscriptions","organizations_url":"https://api.github.com/users/me-no-dev/orgs","repos_url":"https://api.github.com/users/me-no-dev/repos","events_url":"https://api.github.com/users/me-no-dev/events{/privacy}","received_events_url":"https://api.github.com/users/me-no-dev/received_events","type":"User","site_admin":false},"repo":{"id":48185257,"name":"RasPiArduino","full_name":"me-no-dev/RasPiArduino","owner":{"login":"me-no-dev","id":12663778,"avatar_url":"https://avatars.githubusercontent.com/u/12663778?v=3","gravatar_id":"","url":"https://api.github.com/users/me-no-dev","html_url":"https://github.com/me-no-dev","followers_url":"https://api.github.com/users/me-no-dev/followers","following_url":"https://api.github.com/users/me-no-dev/following{/other_user}","gists_url":"https://api.github.com/users/me-no-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/me-no-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/me-no-dev/subscriptions","organizations_url":"https://api.github.com/users/me-no-dev/orgs","repos_url":"https://api.github.com/users/me-no-dev/repos","events_url":"https://api.github.com/users/me-no-dev/events{/privacy}","received_events_url":"https://api.github.com/users/me-no-dev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/me-no-dev/RasPiArduino","description":"Arduino Framework for RaspberryPI","fork":false,"url":"https://api.github.com/repos/me-no-dev/RasPiArduino","forks_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/forks","keys_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/keys{/key_id}","collaborators_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/teams","hooks_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/hooks","issue_events_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/issues/events{/number}","events_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/events","assignees_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/assignees{/user}","branches_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/branches{/branch}","tags_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/tags","blobs_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/git/refs{/sha}","trees_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/git/trees{/sha}","statuses_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/statuses/{sha}","languages_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/languages","stargazers_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/stargazers","contributors_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/contributors","subscribers_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/subscribers","subscription_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/subscription","commits_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/commits{/sha}","git_commits_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/git/commits{/sha}","comments_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/comments{/number}","issue_comment_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/issues/comments{/number}","contents_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/contents/{+path}","compare_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/compare/{base}...{head}","merges_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/merges","archive_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/downloads","issues_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/issues{/number}","pulls_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/pulls{/number}","milestones_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/milestones{/number}","notifications_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/labels{/name}","releases_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/releases{/id}","created_at":"2015-12-17T16:23:14Z","updated_at":"2015-12-23T18:42:17Z","pushed_at":"2015-12-25T18:19:45Z","git_url":"git://github.com/me-no-dev/RasPiArduino.git","ssh_url":"git@github.com:me-no-dev/RasPiArduino.git","clone_url":"https://github.com/me-no-dev/RasPiArduino.git","svn_url":"https://github.com/me-no-dev/RasPiArduino","homepage":null,"size":633,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":2,"default_branch":"master"}},"base":{"label":"me-no-dev:master","ref":"master","sha":"6d5d77ac31c0b811d2c9d8a522534bcde2dc1a8b","user":{"login":"me-no-dev","id":12663778,"avatar_url":"https://avatars.githubusercontent.com/u/12663778?v=3","gravatar_id":"","url":"https://api.github.com/users/me-no-dev","html_url":"https://github.com/me-no-dev","followers_url":"https://api.github.com/users/me-no-dev/followers","following_url":"https://api.github.com/users/me-no-dev/following{/other_user}","gists_url":"https://api.github.com/users/me-no-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/me-no-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/me-no-dev/subscriptions","organizations_url":"https://api.github.com/users/me-no-dev/orgs","repos_url":"https://api.github.com/users/me-no-dev/repos","events_url":"https://api.github.com/users/me-no-dev/events{/privacy}","received_events_url":"https://api.github.com/users/me-no-dev/received_events","type":"User","site_admin":false},"repo":{"id":48185257,"name":"RasPiArduino","full_name":"me-no-dev/RasPiArduino","owner":{"login":"me-no-dev","id":12663778,"avatar_url":"https://avatars.githubusercontent.com/u/12663778?v=3","gravatar_id":"","url":"https://api.github.com/users/me-no-dev","html_url":"https://github.com/me-no-dev","followers_url":"https://api.github.com/users/me-no-dev/followers","following_url":"https://api.github.com/users/me-no-dev/following{/other_user}","gists_url":"https://api.github.com/users/me-no-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/me-no-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/me-no-dev/subscriptions","organizations_url":"https://api.github.com/users/me-no-dev/orgs","repos_url":"https://api.github.com/users/me-no-dev/repos","events_url":"https://api.github.com/users/me-no-dev/events{/privacy}","received_events_url":"https://api.github.com/users/me-no-dev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/me-no-dev/RasPiArduino","description":"Arduino Framework for RaspberryPI","fork":false,"url":"https://api.github.com/repos/me-no-dev/RasPiArduino","forks_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/forks","keys_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/keys{/key_id}","collaborators_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/teams","hooks_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/hooks","issue_events_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/issues/events{/number}","events_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/events","assignees_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/assignees{/user}","branches_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/branches{/branch}","tags_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/tags","blobs_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/git/refs{/sha}","trees_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/git/trees{/sha}","statuses_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/statuses/{sha}","languages_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/languages","stargazers_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/stargazers","contributors_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/contributors","subscribers_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/subscribers","subscription_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/subscription","commits_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/commits{/sha}","git_commits_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/git/commits{/sha}","comments_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/comments{/number}","issue_comment_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/issues/comments{/number}","contents_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/contents/{+path}","compare_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/compare/{base}...{head}","merges_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/merges","archive_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/downloads","issues_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/issues{/number}","pulls_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/pulls{/number}","milestones_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/milestones{/number}","notifications_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/labels{/name}","releases_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/releases{/id}","created_at":"2015-12-17T16:23:14Z","updated_at":"2015-12-23T18:42:17Z","pushed_at":"2015-12-25T18:19:45Z","git_url":"git://github.com/me-no-dev/RasPiArduino.git","ssh_url":"git@github.com:me-no-dev/RasPiArduino.git","clone_url":"https://github.com/me-no-dev/RasPiArduino.git","svn_url":"https://github.com/me-no-dev/RasPiArduino","homepage":null,"size":633,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/me-no-dev/RasPiArduino/pulls/13"},"html":{"href":"https://github.com/me-no-dev/RasPiArduino/pull/13"},"issue":{"href":"https://api.github.com/repos/me-no-dev/RasPiArduino/issues/13"},"comments":{"href":"https://api.github.com/repos/me-no-dev/RasPiArduino/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/me-no-dev/RasPiArduino/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/me-no-dev/RasPiArduino/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/me-no-dev/RasPiArduino/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/me-no-dev/RasPiArduino/statuses/8063703fd0a5ff179c59bcbcaa5e25ce07a7e8b2"}}}}