{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/iot/pulls/comments/245440746","pull_request_review_id":189554476,"id":245440746,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NTQ0MDc0Ng==","diff_hunk":"@@ -0,0 +1,29 @@\n+﻿// Licensed to the .NET Foundation under one or more agreements.\n+// The .NET Foundation licenses this file to you under the MIT license.\n+// See the LICENSE file in the project root for more information.\n+\n+using System;\n+using System.Collections.Generic;\n+using System.Runtime.InteropServices;\n+using System.Text;\n+\n+namespace System.Device.Gpio\n+{\n+    class SafeLineHandle : SafeHandle\n+    {\n+        internal SafeLineHandle() : base(IntPtr.Zero, false) { }\n+\n+        override protected bool ReleaseHandle()\n+        {\n+            return true;","path":"src/System.Device.Gpio/System/Device/Gpio/SafeLineHandle.cs","position":18,"original_position":18,"commit_id":"32dab8fe8ee0fd613ff4a9f48e1db0d21cd5eb3c","original_commit_id":"32dab8fe8ee0fd613ff4a9f48e1db0d21cd5eb3c","user":{"login":"buyaa-n","id":45579687,"node_id":"MDQ6VXNlcjQ1NTc5Njg3","avatar_url":"https://avatars0.githubusercontent.com/u/45579687?v=4","gravatar_id":"","url":"https://api.github.com/users/buyaa-n","html_url":"https://github.com/buyaa-n","followers_url":"https://api.github.com/users/buyaa-n/followers","following_url":"https://api.github.com/users/buyaa-n/following{/other_user}","gists_url":"https://api.github.com/users/buyaa-n/gists{/gist_id}","starred_url":"https://api.github.com/users/buyaa-n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buyaa-n/subscriptions","organizations_url":"https://api.github.com/users/buyaa-n/orgs","repos_url":"https://api.github.com/users/buyaa-n/repos","events_url":"https://api.github.com/users/buyaa-n/events{/privacy}","received_events_url":"https://api.github.com/users/buyaa-n/received_events","type":"User","site_admin":false},"body":"We need it because some other methods require line pointer (`struct gpiod_line *line`) as argument ike : `int gpiod_line_set_value(struct gpiod_line *line, int value)`","created_at":"2019-01-04T22:42:19Z","updated_at":"2019-01-04T22:42:19Z","html_url":"https://github.com/dotnet/iot/pull/133#discussion_r245440746","pull_request_url":"https://api.github.com/repos/dotnet/iot/pulls/133","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/dotnet/iot/pulls/comments/245440746"},"html":{"href":"https://github.com/dotnet/iot/pull/133#discussion_r245440746"},"pull_request":{"href":"https://api.github.com/repos/dotnet/iot/pulls/133"}},"in_reply_to_id":245149318},"pull_request":{"url":"https://api.github.com/repos/dotnet/iot/pulls/133","id":241879248,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxODc5MjQ4","html_url":"https://github.com/dotnet/iot/pull/133","diff_url":"https://github.com/dotnet/iot/pull/133.diff","patch_url":"https://github.com/dotnet/iot/pull/133.patch","issue_url":"https://api.github.com/repos/dotnet/iot/issues/133","number":133,"state":"open","locked":false,"title":"Libgpiod pinvoke C Api Read/Write implementation","user":{"login":"buyaa-n","id":45579687,"node_id":"MDQ6VXNlcjQ1NTc5Njg3","avatar_url":"https://avatars0.githubusercontent.com/u/45579687?v=4","gravatar_id":"","url":"https://api.github.com/users/buyaa-n","html_url":"https://github.com/buyaa-n","followers_url":"https://api.github.com/users/buyaa-n/followers","following_url":"https://api.github.com/users/buyaa-n/following{/other_user}","gists_url":"https://api.github.com/users/buyaa-n/gists{/gist_id}","starred_url":"https://api.github.com/users/buyaa-n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buyaa-n/subscriptions","organizations_url":"https://api.github.com/users/buyaa-n/orgs","repos_url":"https://api.github.com/users/buyaa-n/repos","events_url":"https://api.github.com/users/buyaa-n/events{/privacy}","received_events_url":"https://api.github.com/users/buyaa-n/received_events","type":"User","site_admin":false},"body":"Please note that following event handling methods implementations not completed yet\r\n`protected internal abstract void AddCallbackForPinValueChangedEvent(int pinNumber, PinEventTypes eventType, PinChangeEventHandler callback);`\r\n`protected internal abstract void RemoveCallbackForPinValueChangedEvent(int pinNumber, PinChangeEventHandler callback);`\r\n","created_at":"2019-01-03T00:08:06Z","updated_at":"2019-01-04T22:42:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"93b803bec831259668f5dddb513163671f6f5e87","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/iot/pulls/133/commits","review_comments_url":"https://api.github.com/repos/dotnet/iot/pulls/133/comments","review_comment_url":"https://api.github.com/repos/dotnet/iot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/iot/issues/133/comments","statuses_url":"https://api.github.com/repos/dotnet/iot/statuses/32dab8fe8ee0fd613ff4a9f48e1db0d21cd5eb3c","head":{"label":"buyaa-n:libgpiod_c_api_driver","ref":"libgpiod_c_api_driver","sha":"32dab8fe8ee0fd613ff4a9f48e1db0d21cd5eb3c","user":{"login":"buyaa-n","id":45579687,"node_id":"MDQ6VXNlcjQ1NTc5Njg3","avatar_url":"https://avatars0.githubusercontent.com/u/45579687?v=4","gravatar_id":"","url":"https://api.github.com/users/buyaa-n","html_url":"https://github.com/buyaa-n","followers_url":"https://api.github.com/users/buyaa-n/followers","following_url":"https://api.github.com/users/buyaa-n/following{/other_user}","gists_url":"https://api.github.com/users/buyaa-n/gists{/gist_id}","starred_url":"https://api.github.com/users/buyaa-n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buyaa-n/subscriptions","organizations_url":"https://api.github.com/users/buyaa-n/orgs","repos_url":"https://api.github.com/users/buyaa-n/repos","events_url":"https://api.github.com/users/buyaa-n/events{/privacy}","received_events_url":"https://api.github.com/users/buyaa-n/received_events","type":"User","site_admin":false},"repo":{"id":160405001,"node_id":"MDEwOlJlcG9zaXRvcnkxNjA0MDUwMDE=","name":"iot","full_name":"buyaa-n/iot","private":false,"owner":{"login":"buyaa-n","id":45579687,"node_id":"MDQ6VXNlcjQ1NTc5Njg3","avatar_url":"https://avatars0.githubusercontent.com/u/45579687?v=4","gravatar_id":"","url":"https://api.github.com/users/buyaa-n","html_url":"https://github.com/buyaa-n","followers_url":"https://api.github.com/users/buyaa-n/followers","following_url":"https://api.github.com/users/buyaa-n/following{/other_user}","gists_url":"https://api.github.com/users/buyaa-n/gists{/gist_id}","starred_url":"https://api.github.com/users/buyaa-n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buyaa-n/subscriptions","organizations_url":"https://api.github.com/users/buyaa-n/orgs","repos_url":"https://api.github.com/users/buyaa-n/repos","events_url":"https://api.github.com/users/buyaa-n/events{/privacy}","received_events_url":"https://api.github.com/users/buyaa-n/received_events","type":"User","site_admin":false},"html_url":"https://github.com/buyaa-n/iot","description":"This repo includes .NET Core implementations for various IoT boards, chips, displays and PCBs.","fork":true,"url":"https://api.github.com/repos/buyaa-n/iot","forks_url":"https://api.github.com/repos/buyaa-n/iot/forks","keys_url":"https://api.github.com/repos/buyaa-n/iot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/buyaa-n/iot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/buyaa-n/iot/teams","hooks_url":"https://api.github.com/repos/buyaa-n/iot/hooks","issue_events_url":"https://api.github.com/repos/buyaa-n/iot/issues/events{/number}","events_url":"https://api.github.com/repos/buyaa-n/iot/events","assignees_url":"https://api.github.com/repos/buyaa-n/iot/assignees{/user}","branches_url":"https://api.github.com/repos/buyaa-n/iot/branches{/branch}","tags_url":"https://api.github.com/repos/buyaa-n/iot/tags","blobs_url":"https://api.github.com/repos/buyaa-n/iot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/buyaa-n/iot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/buyaa-n/iot/git/refs{/sha}","trees_url":"https://api.github.com/repos/buyaa-n/iot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/buyaa-n/iot/statuses/{sha}","languages_url":"https://api.github.com/repos/buyaa-n/iot/languages","stargazers_url":"https://api.github.com/repos/buyaa-n/iot/stargazers","contributors_url":"https://api.github.com/repos/buyaa-n/iot/contributors","subscribers_url":"https://api.github.com/repos/buyaa-n/iot/subscribers","subscription_url":"https://api.github.com/repos/buyaa-n/iot/subscription","commits_url":"https://api.github.com/repos/buyaa-n/iot/commits{/sha}","git_commits_url":"https://api.github.com/repos/buyaa-n/iot/git/commits{/sha}","comments_url":"https://api.github.com/repos/buyaa-n/iot/comments{/number}","issue_comment_url":"https://api.github.com/repos/buyaa-n/iot/issues/comments{/number}","contents_url":"https://api.github.com/repos/buyaa-n/iot/contents/{+path}","compare_url":"https://api.github.com/repos/buyaa-n/iot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/buyaa-n/iot/merges","archive_url":"https://api.github.com/repos/buyaa-n/iot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/buyaa-n/iot/downloads","issues_url":"https://api.github.com/repos/buyaa-n/iot/issues{/number}","pulls_url":"https://api.github.com/repos/buyaa-n/iot/pulls{/number}","milestones_url":"https://api.github.com/repos/buyaa-n/iot/milestones{/number}","notifications_url":"https://api.github.com/repos/buyaa-n/iot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/buyaa-n/iot/labels{/name}","releases_url":"https://api.github.com/repos/buyaa-n/iot/releases{/id}","deployments_url":"https://api.github.com/repos/buyaa-n/iot/deployments","created_at":"2018-12-04T18:59:31Z","updated_at":"2018-12-04T18:59:33Z","pushed_at":"2019-01-03T19:57:03Z","git_url":"git://github.com/buyaa-n/iot.git","ssh_url":"git@github.com:buyaa-n/iot.git","clone_url":"https://github.com/buyaa-n/iot.git","svn_url":"https://github.com/buyaa-n/iot","homepage":"","size":5799,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"41b58736382033dcafa103281d53ae7946ade09b","user":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":151623607,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE2MjM2MDc=","name":"iot","full_name":"dotnet/iot","private":false,"owner":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dotnet/iot","description":"This repo includes .NET Core implementations for various IoT boards, chips, displays and PCBs.","fork":false,"url":"https://api.github.com/repos/dotnet/iot","forks_url":"https://api.github.com/repos/dotnet/iot/forks","keys_url":"https://api.github.com/repos/dotnet/iot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/iot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/iot/teams","hooks_url":"https://api.github.com/repos/dotnet/iot/hooks","issue_events_url":"https://api.github.com/repos/dotnet/iot/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/iot/events","assignees_url":"https://api.github.com/repos/dotnet/iot/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/iot/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/iot/tags","blobs_url":"https://api.github.com/repos/dotnet/iot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/iot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/iot/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/iot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/iot/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/iot/languages","stargazers_url":"https://api.github.com/repos/dotnet/iot/stargazers","contributors_url":"https://api.github.com/repos/dotnet/iot/contributors","subscribers_url":"https://api.github.com/repos/dotnet/iot/subscribers","subscription_url":"https://api.github.com/repos/dotnet/iot/subscription","commits_url":"https://api.github.com/repos/dotnet/iot/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/iot/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/iot/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/iot/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/iot/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/iot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/iot/merges","archive_url":"https://api.github.com/repos/dotnet/iot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/iot/downloads","issues_url":"https://api.github.com/repos/dotnet/iot/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/iot/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/iot/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/iot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/iot/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/iot/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/iot/deployments","created_at":"2018-10-04T19:15:33Z","updated_at":"2019-01-03T17:11:11Z","pushed_at":"2019-01-03T22:56:15Z","git_url":"git://github.com/dotnet/iot.git","ssh_url":"git@github.com:dotnet/iot.git","clone_url":"https://github.com/dotnet/iot.git","svn_url":"https://github.com/dotnet/iot","homepage":"","size":5782,"stargazers_count":169,"watchers_count":169,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":51,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":20,"open_issues":51,"watchers":169,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/iot/pulls/133"},"html":{"href":"https://github.com/dotnet/iot/pull/133"},"issue":{"href":"https://api.github.com/repos/dotnet/iot/issues/133"},"comments":{"href":"https://api.github.com/repos/dotnet/iot/issues/133/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/iot/pulls/133/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/iot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/iot/pulls/133/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/iot/statuses/32dab8fe8ee0fd613ff4a9f48e1db0d21cd5eb3c"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"buyaa-n"}}