{"action":"created","comment":{"url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/pulls/comments/218100014","pull_request_review_id":155963567,"id":218100014,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODEwMDAxNA==","diff_hunk":"@@ -200,19 +200,30 @@ function status(handle::FT_HANDLE)\n   mflaglist, lflaglist\n end\n \n-function Base.nb_available(handle::FT_HANDLE)\n-  nbrx = Ref{DWORD}()\n-  status = ccall(cfunc[:FT_GetQueueStatus], cdecl, FT_STATUS, \n-                 (FT_HANDLE, Ref{DWORD}),\n-                  handle,    nbrx)\n-  FT_STATUS_ENUM(status) == FT_OK || throw(FT_STATUS_ENUM(status))\n-  nbrx[]\n+if VERSION < v\"0.7\"","path":"src/LibFTD2XX.jl","position":null,"original_position":20,"commit_id":"a3d9de470ce1f1b3a006c8c3108ddd91f3b37ac2","original_commit_id":"d68502e3f50d018b7593495f764667da8c8eb8ea","user":{"login":"ReubenHill","id":7901165,"node_id":"MDQ6VXNlcjc5MDExNjU=","avatar_url":"https://avatars1.githubusercontent.com/u/7901165?v=4","gravatar_id":"","url":"https://api.github.com/users/ReubenHill","html_url":"https://github.com/ReubenHill","followers_url":"https://api.github.com/users/ReubenHill/followers","following_url":"https://api.github.com/users/ReubenHill/following{/other_user}","gists_url":"https://api.github.com/users/ReubenHill/gists{/gist_id}","starred_url":"https://api.github.com/users/ReubenHill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReubenHill/subscriptions","organizations_url":"https://api.github.com/users/ReubenHill/orgs","repos_url":"https://api.github.com/users/ReubenHill/repos","events_url":"https://api.github.com/users/ReubenHill/events{/privacy}","received_events_url":"https://api.github.com/users/ReubenHill/received_events","type":"User","site_admin":false},"body":"`Base.bytesavailable` was not in name space on v0.6, needed `Compat.bytesavailable` to work.","created_at":"2018-09-17T14:50:02Z","updated_at":"2018-09-17T14:50:03Z","html_url":"https://github.com/Gowerlabs/LibFTD2XX.jl/pull/15#discussion_r218100014","pull_request_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/pulls/15","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/pulls/comments/218100014"},"html":{"href":"https://github.com/Gowerlabs/LibFTD2XX.jl/pull/15#discussion_r218100014"},"pull_request":{"href":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/pulls/15"}},"in_reply_to_id":218094816},"pull_request":{"url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/pulls/15","id":215998205,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1OTk4MjA1","html_url":"https://github.com/Gowerlabs/LibFTD2XX.jl/pull/15","diff_url":"https://github.com/Gowerlabs/LibFTD2XX.jl/pull/15.diff","patch_url":"https://github.com/Gowerlabs/LibFTD2XX.jl/pull/15.patch","issue_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/issues/15","number":15,"state":"open","locked":false,"title":"Replace `nb_available` with `bytesavailable`","user":{"login":"ReubenHill","id":7901165,"node_id":"MDQ6VXNlcjc5MDExNjU=","avatar_url":"https://avatars1.githubusercontent.com/u/7901165?v=4","gravatar_id":"","url":"https://api.github.com/users/ReubenHill","html_url":"https://github.com/ReubenHill","followers_url":"https://api.github.com/users/ReubenHill/followers","following_url":"https://api.github.com/users/ReubenHill/following{/other_user}","gists_url":"https://api.github.com/users/ReubenHill/gists{/gist_id}","starred_url":"https://api.github.com/users/ReubenHill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReubenHill/subscriptions","organizations_url":"https://api.github.com/users/ReubenHill/orgs","repos_url":"https://api.github.com/users/ReubenHill/repos","events_url":"https://api.github.com/users/ReubenHill/events{/privacy}","received_events_url":"https://api.github.com/users/ReubenHill/received_events","type":"User","site_admin":false},"body":"`nb_available` has been deprecated in 1.0/0.7. This was missed in previous 0.7/1.0 compatibility PRs due to a depwarning not being thrown. `bytesavailable` is now used instead.","created_at":"2018-09-17T14:18:25Z","updated_at":"2018-09-17T14:50:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ae715000204efe55bf4fa89dd7d39793f44af62","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/pulls/15/commits","review_comments_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/pulls/15/comments","review_comment_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/issues/15/comments","statuses_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/statuses/a3d9de470ce1f1b3a006c8c3108ddd91f3b37ac2","head":{"label":"Gowerlabs:nb_available-to-bytesavailable","ref":"nb_available-to-bytesavailable","sha":"a3d9de470ce1f1b3a006c8c3108ddd91f3b37ac2","user":{"login":"Gowerlabs","id":21082212,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDgyMjEy","avatar_url":"https://avatars2.githubusercontent.com/u/21082212?v=4","gravatar_id":"","url":"https://api.github.com/users/Gowerlabs","html_url":"https://github.com/Gowerlabs","followers_url":"https://api.github.com/users/Gowerlabs/followers","following_url":"https://api.github.com/users/Gowerlabs/following{/other_user}","gists_url":"https://api.github.com/users/Gowerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/Gowerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gowerlabs/subscriptions","organizations_url":"https://api.github.com/users/Gowerlabs/orgs","repos_url":"https://api.github.com/users/Gowerlabs/repos","events_url":"https://api.github.com/users/Gowerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/Gowerlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":144176382,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQxNzYzODI=","name":"LibFTD2XX.jl","full_name":"Gowerlabs/LibFTD2XX.jl","private":false,"owner":{"login":"Gowerlabs","id":21082212,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDgyMjEy","avatar_url":"https://avatars2.githubusercontent.com/u/21082212?v=4","gravatar_id":"","url":"https://api.github.com/users/Gowerlabs","html_url":"https://github.com/Gowerlabs","followers_url":"https://api.github.com/users/Gowerlabs/followers","following_url":"https://api.github.com/users/Gowerlabs/following{/other_user}","gists_url":"https://api.github.com/users/Gowerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/Gowerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gowerlabs/subscriptions","organizations_url":"https://api.github.com/users/Gowerlabs/orgs","repos_url":"https://api.github.com/users/Gowerlabs/repos","events_url":"https://api.github.com/users/Gowerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/Gowerlabs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Gowerlabs/LibFTD2XX.jl","description":"Julia wrapper for FTDI D2XX drivers.","fork":false,"url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl","forks_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/forks","keys_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/teams","hooks_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/hooks","issue_events_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/issues/events{/number}","events_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/events","assignees_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/assignees{/user}","branches_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/branches{/branch}","tags_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/tags","blobs_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/languages","stargazers_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/stargazers","contributors_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/contributors","subscribers_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/subscribers","subscription_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/subscription","commits_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/contents/{+path}","compare_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/merges","archive_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/downloads","issues_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/issues{/number}","pulls_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/labels{/name}","releases_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/releases{/id}","deployments_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/deployments","created_at":"2018-08-09T16:13:20Z","updated_at":"2018-09-14T11:15:34Z","pushed_at":"2018-09-17T14:49:03Z","git_url":"git://github.com/Gowerlabs/LibFTD2XX.jl.git","ssh_url":"git@github.com:Gowerlabs/LibFTD2XX.jl.git","clone_url":"https://github.com/Gowerlabs/LibFTD2XX.jl.git","svn_url":"https://github.com/Gowerlabs/LibFTD2XX.jl","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"Gowerlabs:master","ref":"master","sha":"0d04b8ba64d88ecad779ed975f5c4c56aed2653d","user":{"login":"Gowerlabs","id":21082212,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDgyMjEy","avatar_url":"https://avatars2.githubusercontent.com/u/21082212?v=4","gravatar_id":"","url":"https://api.github.com/users/Gowerlabs","html_url":"https://github.com/Gowerlabs","followers_url":"https://api.github.com/users/Gowerlabs/followers","following_url":"https://api.github.com/users/Gowerlabs/following{/other_user}","gists_url":"https://api.github.com/users/Gowerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/Gowerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gowerlabs/subscriptions","organizations_url":"https://api.github.com/users/Gowerlabs/orgs","repos_url":"https://api.github.com/users/Gowerlabs/repos","events_url":"https://api.github.com/users/Gowerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/Gowerlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":144176382,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQxNzYzODI=","name":"LibFTD2XX.jl","full_name":"Gowerlabs/LibFTD2XX.jl","private":false,"owner":{"login":"Gowerlabs","id":21082212,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDgyMjEy","avatar_url":"https://avatars2.githubusercontent.com/u/21082212?v=4","gravatar_id":"","url":"https://api.github.com/users/Gowerlabs","html_url":"https://github.com/Gowerlabs","followers_url":"https://api.github.com/users/Gowerlabs/followers","following_url":"https://api.github.com/users/Gowerlabs/following{/other_user}","gists_url":"https://api.github.com/users/Gowerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/Gowerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gowerlabs/subscriptions","organizations_url":"https://api.github.com/users/Gowerlabs/orgs","repos_url":"https://api.github.com/users/Gowerlabs/repos","events_url":"https://api.github.com/users/Gowerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/Gowerlabs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Gowerlabs/LibFTD2XX.jl","description":"Julia wrapper for FTDI D2XX drivers.","fork":false,"url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl","forks_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/forks","keys_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/teams","hooks_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/hooks","issue_events_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/issues/events{/number}","events_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/events","assignees_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/assignees{/user}","branches_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/branches{/branch}","tags_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/tags","blobs_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/languages","stargazers_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/stargazers","contributors_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/contributors","subscribers_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/subscribers","subscription_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/subscription","commits_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/contents/{+path}","compare_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/merges","archive_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/downloads","issues_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/issues{/number}","pulls_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/labels{/name}","releases_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/releases{/id}","deployments_url":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/deployments","created_at":"2018-08-09T16:13:20Z","updated_at":"2018-09-14T11:15:34Z","pushed_at":"2018-09-17T14:49:03Z","git_url":"git://github.com/Gowerlabs/LibFTD2XX.jl.git","ssh_url":"git@github.com:Gowerlabs/LibFTD2XX.jl.git","clone_url":"https://github.com/Gowerlabs/LibFTD2XX.jl.git","svn_url":"https://github.com/Gowerlabs/LibFTD2XX.jl","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/pulls/15"},"html":{"href":"https://github.com/Gowerlabs/LibFTD2XX.jl/pull/15"},"issue":{"href":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/issues/15"},"comments":{"href":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/Gowerlabs/LibFTD2XX.jl/statuses/a3d9de470ce1f1b3a006c8c3108ddd91f3b37ac2"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ReubenHill"}}