{"action":"created","comment":{"url":"https://api.github.com/repos/mono/CppSharp/pulls/comments/33423445","id":33423445,"diff_hunk":"@@ -149,6 +154,12 @@ public bool HasBaseClass\n             get { return BaseClass != null; }\n         }\n \n+        public bool IsStruct\n+        {\n+            get;\n+            set;","path":"src/AST/Class.cs","position":33,"original_position":33,"commit_id":"9055c12d38981c315ee5f1a82cbda5012e7933a1","original_commit_id":"9055c12d38981c315ee5f1a82cbda5012e7933a1","user":{"login":"ddobrev","id":5193072,"avatar_url":"https://avatars.githubusercontent.com/u/5193072?v=3","gravatar_id":"","url":"https://api.github.com/users/ddobrev","html_url":"https://github.com/ddobrev","followers_url":"https://api.github.com/users/ddobrev/followers","following_url":"https://api.github.com/users/ddobrev/following{/other_user}","gists_url":"https://api.github.com/users/ddobrev/gists{/gist_id}","starred_url":"https://api.github.com/users/ddobrev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddobrev/subscriptions","organizations_url":"https://api.github.com/users/ddobrev/orgs","repos_url":"https://api.github.com/users/ddobrev/repos","events_url":"https://api.github.com/users/ddobrev/events{/privacy}","received_events_url":"https://api.github.com/users/ddobrev/received_events","type":"User","site_admin":false},"body":"Exactly.","created_at":"2015-06-28T14:47:47Z","updated_at":"2015-06-28T14:47:47Z","html_url":"https://github.com/mono/CppSharp/pull/505#discussion_r33423445","pull_request_url":"https://api.github.com/repos/mono/CppSharp/pulls/505","_links":{"self":{"href":"https://api.github.com/repos/mono/CppSharp/pulls/comments/33423445"},"html":{"href":"https://github.com/mono/CppSharp/pull/505#discussion_r33423445"},"pull_request":{"href":"https://api.github.com/repos/mono/CppSharp/pulls/505"}}},"pull_request":{"url":"https://api.github.com/repos/mono/CppSharp/pulls/505","id":38721019,"html_url":"https://github.com/mono/CppSharp/pull/505","diff_url":"https://github.com/mono/CppSharp/pull/505.diff","patch_url":"https://github.com/mono/CppSharp/pull/505.patch","issue_url":"https://api.github.com/repos/mono/CppSharp/issues/505","number":505,"state":"open","locked":false,"title":"Added option for generating 'struct' for types defined with 'struct' keyword wherever possible.","user":{"login":"genuinelucifer","id":11402325,"avatar_url":"https://avatars.githubusercontent.com/u/11402325?v=3","gravatar_id":"","url":"https://api.github.com/users/genuinelucifer","html_url":"https://github.com/genuinelucifer","followers_url":"https://api.github.com/users/genuinelucifer/followers","following_url":"https://api.github.com/users/genuinelucifer/following{/other_user}","gists_url":"https://api.github.com/users/genuinelucifer/gists{/gist_id}","starred_url":"https://api.github.com/users/genuinelucifer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genuinelucifer/subscriptions","organizations_url":"https://api.github.com/users/genuinelucifer/orgs","repos_url":"https://api.github.com/users/genuinelucifer/repos","events_url":"https://api.github.com/users/genuinelucifer/events{/privacy}","received_events_url":"https://api.github.com/users/genuinelucifer/received_events","type":"User","site_admin":false},"body":"Added everything and as faar as I can see it is working fine.\r\nPlease review @ddobrev @tritao ","created_at":"2015-06-28T06:39:28Z","updated_at":"2015-06-28T14:47:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0754fa6e8400cd357dafd024c033abb7eb934530","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mono/CppSharp/pulls/505/commits","review_comments_url":"https://api.github.com/repos/mono/CppSharp/pulls/505/comments","review_comment_url":"https://api.github.com/repos/mono/CppSharp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mono/CppSharp/issues/505/comments","statuses_url":"https://api.github.com/repos/mono/CppSharp/statuses/9055c12d38981c315ee5f1a82cbda5012e7933a1","head":{"label":"genuinelucifer:isStruct","ref":"isStruct","sha":"9055c12d38981c315ee5f1a82cbda5012e7933a1","user":{"login":"genuinelucifer","id":11402325,"avatar_url":"https://avatars.githubusercontent.com/u/11402325?v=3","gravatar_id":"","url":"https://api.github.com/users/genuinelucifer","html_url":"https://github.com/genuinelucifer","followers_url":"https://api.github.com/users/genuinelucifer/followers","following_url":"https://api.github.com/users/genuinelucifer/following{/other_user}","gists_url":"https://api.github.com/users/genuinelucifer/gists{/gist_id}","starred_url":"https://api.github.com/users/genuinelucifer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genuinelucifer/subscriptions","organizations_url":"https://api.github.com/users/genuinelucifer/orgs","repos_url":"https://api.github.com/users/genuinelucifer/repos","events_url":"https://api.github.com/users/genuinelucifer/events{/privacy}","received_events_url":"https://api.github.com/users/genuinelucifer/received_events","type":"User","site_admin":false},"repo":{"id":35488262,"name":"CppSharp","full_name":"genuinelucifer/CppSharp","owner":{"login":"genuinelucifer","id":11402325,"avatar_url":"https://avatars.githubusercontent.com/u/11402325?v=3","gravatar_id":"","url":"https://api.github.com/users/genuinelucifer","html_url":"https://github.com/genuinelucifer","followers_url":"https://api.github.com/users/genuinelucifer/followers","following_url":"https://api.github.com/users/genuinelucifer/following{/other_user}","gists_url":"https://api.github.com/users/genuinelucifer/gists{/gist_id}","starred_url":"https://api.github.com/users/genuinelucifer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genuinelucifer/subscriptions","organizations_url":"https://api.github.com/users/genuinelucifer/orgs","repos_url":"https://api.github.com/users/genuinelucifer/repos","events_url":"https://api.github.com/users/genuinelucifer/events{/privacy}","received_events_url":"https://api.github.com/users/genuinelucifer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/genuinelucifer/CppSharp","description":"Tools to surface C++ APIs to C#","fork":true,"url":"https://api.github.com/repos/genuinelucifer/CppSharp","forks_url":"https://api.github.com/repos/genuinelucifer/CppSharp/forks","keys_url":"https://api.github.com/repos/genuinelucifer/CppSharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/genuinelucifer/CppSharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/genuinelucifer/CppSharp/teams","hooks_url":"https://api.github.com/repos/genuinelucifer/CppSharp/hooks","issue_events_url":"https://api.github.com/repos/genuinelucifer/CppSharp/issues/events{/number}","events_url":"https://api.github.com/repos/genuinelucifer/CppSharp/events","assignees_url":"https://api.github.com/repos/genuinelucifer/CppSharp/assignees{/user}","branches_url":"https://api.github.com/repos/genuinelucifer/CppSharp/branches{/branch}","tags_url":"https://api.github.com/repos/genuinelucifer/CppSharp/tags","blobs_url":"https://api.github.com/repos/genuinelucifer/CppSharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/genuinelucifer/CppSharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/genuinelucifer/CppSharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/genuinelucifer/CppSharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/genuinelucifer/CppSharp/statuses/{sha}","languages_url":"https://api.github.com/repos/genuinelucifer/CppSharp/languages","stargazers_url":"https://api.github.com/repos/genuinelucifer/CppSharp/stargazers","contributors_url":"https://api.github.com/repos/genuinelucifer/CppSharp/contributors","subscribers_url":"https://api.github.com/repos/genuinelucifer/CppSharp/subscribers","subscription_url":"https://api.github.com/repos/genuinelucifer/CppSharp/subscription","commits_url":"https://api.github.com/repos/genuinelucifer/CppSharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/genuinelucifer/CppSharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/genuinelucifer/CppSharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/genuinelucifer/CppSharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/genuinelucifer/CppSharp/contents/{+path}","compare_url":"https://api.github.com/repos/genuinelucifer/CppSharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/genuinelucifer/CppSharp/merges","archive_url":"https://api.github.com/repos/genuinelucifer/CppSharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/genuinelucifer/CppSharp/downloads","issues_url":"https://api.github.com/repos/genuinelucifer/CppSharp/issues{/number}","pulls_url":"https://api.github.com/repos/genuinelucifer/CppSharp/pulls{/number}","milestones_url":"https://api.github.com/repos/genuinelucifer/CppSharp/milestones{/number}","notifications_url":"https://api.github.com/repos/genuinelucifer/CppSharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/genuinelucifer/CppSharp/labels{/name}","releases_url":"https://api.github.com/repos/genuinelucifer/CppSharp/releases{/id}","created_at":"2015-05-12T13:05:40Z","updated_at":"2015-05-12T13:05:41Z","pushed_at":"2015-06-28T14:38:15Z","git_url":"git://github.com/genuinelucifer/CppSharp.git","ssh_url":"git@github.com:genuinelucifer/CppSharp.git","clone_url":"https://github.com/genuinelucifer/CppSharp.git","svn_url":"https://github.com/genuinelucifer/CppSharp","homepage":null,"size":12502,"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":"mono:master","ref":"master","sha":"a1d7e685bca96634724367faaa472e3fe6f0e64a","user":{"login":"mono","id":53395,"avatar_url":"https://avatars.githubusercontent.com/u/53395?v=3","gravatar_id":"","url":"https://api.github.com/users/mono","html_url":"https://github.com/mono","followers_url":"https://api.github.com/users/mono/followers","following_url":"https://api.github.com/users/mono/following{/other_user}","gists_url":"https://api.github.com/users/mono/gists{/gist_id}","starred_url":"https://api.github.com/users/mono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono/subscriptions","organizations_url":"https://api.github.com/users/mono/orgs","repos_url":"https://api.github.com/users/mono/repos","events_url":"https://api.github.com/users/mono/events{/privacy}","received_events_url":"https://api.github.com/users/mono/received_events","type":"Organization","site_admin":false},"repo":{"id":9988318,"name":"CppSharp","full_name":"mono/CppSharp","owner":{"login":"mono","id":53395,"avatar_url":"https://avatars.githubusercontent.com/u/53395?v=3","gravatar_id":"","url":"https://api.github.com/users/mono","html_url":"https://github.com/mono","followers_url":"https://api.github.com/users/mono/followers","following_url":"https://api.github.com/users/mono/following{/other_user}","gists_url":"https://api.github.com/users/mono/gists{/gist_id}","starred_url":"https://api.github.com/users/mono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono/subscriptions","organizations_url":"https://api.github.com/users/mono/orgs","repos_url":"https://api.github.com/users/mono/repos","events_url":"https://api.github.com/users/mono/events{/privacy}","received_events_url":"https://api.github.com/users/mono/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mono/CppSharp","description":"Tools to surface C++ APIs to C#","fork":false,"url":"https://api.github.com/repos/mono/CppSharp","forks_url":"https://api.github.com/repos/mono/CppSharp/forks","keys_url":"https://api.github.com/repos/mono/CppSharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mono/CppSharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mono/CppSharp/teams","hooks_url":"https://api.github.com/repos/mono/CppSharp/hooks","issue_events_url":"https://api.github.com/repos/mono/CppSharp/issues/events{/number}","events_url":"https://api.github.com/repos/mono/CppSharp/events","assignees_url":"https://api.github.com/repos/mono/CppSharp/assignees{/user}","branches_url":"https://api.github.com/repos/mono/CppSharp/branches{/branch}","tags_url":"https://api.github.com/repos/mono/CppSharp/tags","blobs_url":"https://api.github.com/repos/mono/CppSharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mono/CppSharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mono/CppSharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/mono/CppSharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mono/CppSharp/statuses/{sha}","languages_url":"https://api.github.com/repos/mono/CppSharp/languages","stargazers_url":"https://api.github.com/repos/mono/CppSharp/stargazers","contributors_url":"https://api.github.com/repos/mono/CppSharp/contributors","subscribers_url":"https://api.github.com/repos/mono/CppSharp/subscribers","subscription_url":"https://api.github.com/repos/mono/CppSharp/subscription","commits_url":"https://api.github.com/repos/mono/CppSharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/mono/CppSharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/mono/CppSharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/mono/CppSharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/mono/CppSharp/contents/{+path}","compare_url":"https://api.github.com/repos/mono/CppSharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mono/CppSharp/merges","archive_url":"https://api.github.com/repos/mono/CppSharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mono/CppSharp/downloads","issues_url":"https://api.github.com/repos/mono/CppSharp/issues{/number}","pulls_url":"https://api.github.com/repos/mono/CppSharp/pulls{/number}","milestones_url":"https://api.github.com/repos/mono/CppSharp/milestones{/number}","notifications_url":"https://api.github.com/repos/mono/CppSharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mono/CppSharp/labels{/name}","releases_url":"https://api.github.com/repos/mono/CppSharp/releases{/id}","created_at":"2013-05-10T19:00:56Z","updated_at":"2015-06-27T21:29:24Z","pushed_at":"2015-06-28T14:38:16Z","git_url":"git://github.com/mono/CppSharp.git","ssh_url":"git@github.com:mono/CppSharp.git","clone_url":"https://github.com/mono/CppSharp.git","svn_url":"https://github.com/mono/CppSharp","homepage":null,"size":18847,"stargazers_count":286,"watchers_count":286,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":72,"mirror_url":null,"open_issues_count":51,"forks":72,"open_issues":51,"watchers":286,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mono/CppSharp/pulls/505"},"html":{"href":"https://github.com/mono/CppSharp/pull/505"},"issue":{"href":"https://api.github.com/repos/mono/CppSharp/issues/505"},"comments":{"href":"https://api.github.com/repos/mono/CppSharp/issues/505/comments"},"review_comments":{"href":"https://api.github.com/repos/mono/CppSharp/pulls/505/comments"},"review_comment":{"href":"https://api.github.com/repos/mono/CppSharp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mono/CppSharp/pulls/505/commits"},"statuses":{"href":"https://api.github.com/repos/mono/CppSharp/statuses/9055c12d38981c315ee5f1a82cbda5012e7933a1"}}}}