{"action":"created","comment":{"url":"https://api.github.com/repos/arrayfire/forge/pulls/comments/40611430","id":40611430,"diff_hunk":"@@ -93,10 +93,13 @@ enum ErrorCode {\n     FG_ERR_UNKNOWN        = 9003            ///< Unkown error\n };\n \n-enum ColorMode {\n-    FG_RED =1,                              ///< Single channel\n-    FG_RGB =3,                              ///< Three(Red, Green & Blue) channels\n-    FG_RGBA=4                               ///< Four(Red, Green, Blue & Alpha) channels\n+enum ChannelFormat {\n+    FG_GRAY = 100,                          ///< Single channel","path":"include/fg/defines.h","position":9,"original_position":9,"commit_id":"66d1da4611fd203541bed28cb14c0ea3377dfa4f","original_commit_id":"66d1da4611fd203541bed28cb14c0ea3377dfa4f","user":{"login":"shehzan10","id":2288659,"avatar_url":"https://avatars.githubusercontent.com/u/2288659?v=3","gravatar_id":"","url":"https://api.github.com/users/shehzan10","html_url":"https://github.com/shehzan10","followers_url":"https://api.github.com/users/shehzan10/followers","following_url":"https://api.github.com/users/shehzan10/following{/other_user}","gists_url":"https://api.github.com/users/shehzan10/gists{/gist_id}","starred_url":"https://api.github.com/users/shehzan10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shehzan10/subscriptions","organizations_url":"https://api.github.com/users/shehzan10/orgs","repos_url":"https://api.github.com/users/shehzan10/repos","events_url":"https://api.github.com/users/shehzan10/events{/privacy}","received_events_url":"https://api.github.com/users/shehzan10/received_events","type":"User","site_admin":false},"body":"Sorry for repeating this.\r\nBut how about using MONO or GRAYSCALE or something on those lines. I'm afraid we might at FG_GRAY to the Color enum at some point.\r\n\r\nI guess @pavanky can give his opinion too.","created_at":"2015-09-28T22:02:45Z","updated_at":"2015-09-28T22:02:45Z","html_url":"https://github.com/arrayfire/forge/pull/53#discussion_r40611430","pull_request_url":"https://api.github.com/repos/arrayfire/forge/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/arrayfire/forge/pulls/comments/40611430"},"html":{"href":"https://github.com/arrayfire/forge/pull/53#discussion_r40611430"},"pull_request":{"href":"https://api.github.com/repos/arrayfire/forge/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/arrayfire/forge/pulls/53","id":45929351,"html_url":"https://github.com/arrayfire/forge/pull/53","diff_url":"https://github.com/arrayfire/forge/pull/53.diff","patch_url":"https://github.com/arrayfire/forge/pull/53.patch","issue_url":"https://api.github.com/repos/arrayfire/forge/issues/53","number":53,"state":"open","locked":false,"title":"Types cleanup","user":{"login":"9prady9","id":3270458,"avatar_url":"https://avatars.githubusercontent.com/u/3270458?v=3","gravatar_id":"","url":"https://api.github.com/users/9prady9","html_url":"https://github.com/9prady9","followers_url":"https://api.github.com/users/9prady9/followers","following_url":"https://api.github.com/users/9prady9/following{/other_user}","gists_url":"https://api.github.com/users/9prady9/gists{/gist_id}","starred_url":"https://api.github.com/users/9prady9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9prady9/subscriptions","organizations_url":"https://api.github.com/users/9prady9/orgs","repos_url":"https://api.github.com/users/9prady9/repos","events_url":"https://api.github.com/users/9prady9/events{/privacy}","received_events_url":"https://api.github.com/users/9prady9/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-24T18:04:28Z","updated_at":"2015-09-28T22:02:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a250a4f00bd5954b959e201443336de4fe52d8e4","assignee":{"login":"shehzan10","id":2288659,"avatar_url":"https://avatars.githubusercontent.com/u/2288659?v=3","gravatar_id":"","url":"https://api.github.com/users/shehzan10","html_url":"https://github.com/shehzan10","followers_url":"https://api.github.com/users/shehzan10/followers","following_url":"https://api.github.com/users/shehzan10/following{/other_user}","gists_url":"https://api.github.com/users/shehzan10/gists{/gist_id}","starred_url":"https://api.github.com/users/shehzan10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shehzan10/subscriptions","organizations_url":"https://api.github.com/users/shehzan10/orgs","repos_url":"https://api.github.com/users/shehzan10/repos","events_url":"https://api.github.com/users/shehzan10/events{/privacy}","received_events_url":"https://api.github.com/users/shehzan10/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/arrayfire/forge/pulls/53/commits","review_comments_url":"https://api.github.com/repos/arrayfire/forge/pulls/53/comments","review_comment_url":"https://api.github.com/repos/arrayfire/forge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arrayfire/forge/issues/53/comments","statuses_url":"https://api.github.com/repos/arrayfire/forge/statuses/66d1da4611fd203541bed28cb14c0ea3377dfa4f","head":{"label":"arrayfire:types_cleanup","ref":"types_cleanup","sha":"66d1da4611fd203541bed28cb14c0ea3377dfa4f","user":{"login":"arrayfire","id":5395442,"avatar_url":"https://avatars.githubusercontent.com/u/5395442?v=3","gravatar_id":"","url":"https://api.github.com/users/arrayfire","html_url":"https://github.com/arrayfire","followers_url":"https://api.github.com/users/arrayfire/followers","following_url":"https://api.github.com/users/arrayfire/following{/other_user}","gists_url":"https://api.github.com/users/arrayfire/gists{/gist_id}","starred_url":"https://api.github.com/users/arrayfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arrayfire/subscriptions","organizations_url":"https://api.github.com/users/arrayfire/orgs","repos_url":"https://api.github.com/users/arrayfire/repos","events_url":"https://api.github.com/users/arrayfire/events{/privacy}","received_events_url":"https://api.github.com/users/arrayfire/received_events","type":"Organization","site_admin":false},"repo":{"id":35898690,"name":"forge","full_name":"arrayfire/forge","owner":{"login":"arrayfire","id":5395442,"avatar_url":"https://avatars.githubusercontent.com/u/5395442?v=3","gravatar_id":"","url":"https://api.github.com/users/arrayfire","html_url":"https://github.com/arrayfire","followers_url":"https://api.github.com/users/arrayfire/followers","following_url":"https://api.github.com/users/arrayfire/following{/other_user}","gists_url":"https://api.github.com/users/arrayfire/gists{/gist_id}","starred_url":"https://api.github.com/users/arrayfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arrayfire/subscriptions","organizations_url":"https://api.github.com/users/arrayfire/orgs","repos_url":"https://api.github.com/users/arrayfire/repos","events_url":"https://api.github.com/users/arrayfire/events{/privacy}","received_events_url":"https://api.github.com/users/arrayfire/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/arrayfire/forge","description":"High Performance Visualization","fork":false,"url":"https://api.github.com/repos/arrayfire/forge","forks_url":"https://api.github.com/repos/arrayfire/forge/forks","keys_url":"https://api.github.com/repos/arrayfire/forge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arrayfire/forge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arrayfire/forge/teams","hooks_url":"https://api.github.com/repos/arrayfire/forge/hooks","issue_events_url":"https://api.github.com/repos/arrayfire/forge/issues/events{/number}","events_url":"https://api.github.com/repos/arrayfire/forge/events","assignees_url":"https://api.github.com/repos/arrayfire/forge/assignees{/user}","branches_url":"https://api.github.com/repos/arrayfire/forge/branches{/branch}","tags_url":"https://api.github.com/repos/arrayfire/forge/tags","blobs_url":"https://api.github.com/repos/arrayfire/forge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arrayfire/forge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arrayfire/forge/git/refs{/sha}","trees_url":"https://api.github.com/repos/arrayfire/forge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arrayfire/forge/statuses/{sha}","languages_url":"https://api.github.com/repos/arrayfire/forge/languages","stargazers_url":"https://api.github.com/repos/arrayfire/forge/stargazers","contributors_url":"https://api.github.com/repos/arrayfire/forge/contributors","subscribers_url":"https://api.github.com/repos/arrayfire/forge/subscribers","subscription_url":"https://api.github.com/repos/arrayfire/forge/subscription","commits_url":"https://api.github.com/repos/arrayfire/forge/commits{/sha}","git_commits_url":"https://api.github.com/repos/arrayfire/forge/git/commits{/sha}","comments_url":"https://api.github.com/repos/arrayfire/forge/comments{/number}","issue_comment_url":"https://api.github.com/repos/arrayfire/forge/issues/comments{/number}","contents_url":"https://api.github.com/repos/arrayfire/forge/contents/{+path}","compare_url":"https://api.github.com/repos/arrayfire/forge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arrayfire/forge/merges","archive_url":"https://api.github.com/repos/arrayfire/forge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arrayfire/forge/downloads","issues_url":"https://api.github.com/repos/arrayfire/forge/issues{/number}","pulls_url":"https://api.github.com/repos/arrayfire/forge/pulls{/number}","milestones_url":"https://api.github.com/repos/arrayfire/forge/milestones{/number}","notifications_url":"https://api.github.com/repos/arrayfire/forge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arrayfire/forge/labels{/name}","releases_url":"https://api.github.com/repos/arrayfire/forge/releases{/id}","created_at":"2015-05-19T17:50:08Z","updated_at":"2015-09-08T19:50:20Z","pushed_at":"2015-09-28T19:38:55Z","git_url":"git://github.com/arrayfire/forge.git","ssh_url":"git@github.com:arrayfire/forge.git","clone_url":"https://github.com/arrayfire/forge.git","svn_url":"https://github.com/arrayfire/forge","homepage":null,"size":953,"stargazers_count":7,"watchers_count":7,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":10,"forks":8,"open_issues":10,"watchers":7,"default_branch":"master"}},"base":{"label":"arrayfire:master","ref":"master","sha":"e7b17ed719e170c7f904fc26a30894a3b9a3371b","user":{"login":"arrayfire","id":5395442,"avatar_url":"https://avatars.githubusercontent.com/u/5395442?v=3","gravatar_id":"","url":"https://api.github.com/users/arrayfire","html_url":"https://github.com/arrayfire","followers_url":"https://api.github.com/users/arrayfire/followers","following_url":"https://api.github.com/users/arrayfire/following{/other_user}","gists_url":"https://api.github.com/users/arrayfire/gists{/gist_id}","starred_url":"https://api.github.com/users/arrayfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arrayfire/subscriptions","organizations_url":"https://api.github.com/users/arrayfire/orgs","repos_url":"https://api.github.com/users/arrayfire/repos","events_url":"https://api.github.com/users/arrayfire/events{/privacy}","received_events_url":"https://api.github.com/users/arrayfire/received_events","type":"Organization","site_admin":false},"repo":{"id":35898690,"name":"forge","full_name":"arrayfire/forge","owner":{"login":"arrayfire","id":5395442,"avatar_url":"https://avatars.githubusercontent.com/u/5395442?v=3","gravatar_id":"","url":"https://api.github.com/users/arrayfire","html_url":"https://github.com/arrayfire","followers_url":"https://api.github.com/users/arrayfire/followers","following_url":"https://api.github.com/users/arrayfire/following{/other_user}","gists_url":"https://api.github.com/users/arrayfire/gists{/gist_id}","starred_url":"https://api.github.com/users/arrayfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arrayfire/subscriptions","organizations_url":"https://api.github.com/users/arrayfire/orgs","repos_url":"https://api.github.com/users/arrayfire/repos","events_url":"https://api.github.com/users/arrayfire/events{/privacy}","received_events_url":"https://api.github.com/users/arrayfire/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/arrayfire/forge","description":"High Performance Visualization","fork":false,"url":"https://api.github.com/repos/arrayfire/forge","forks_url":"https://api.github.com/repos/arrayfire/forge/forks","keys_url":"https://api.github.com/repos/arrayfire/forge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arrayfire/forge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arrayfire/forge/teams","hooks_url":"https://api.github.com/repos/arrayfire/forge/hooks","issue_events_url":"https://api.github.com/repos/arrayfire/forge/issues/events{/number}","events_url":"https://api.github.com/repos/arrayfire/forge/events","assignees_url":"https://api.github.com/repos/arrayfire/forge/assignees{/user}","branches_url":"https://api.github.com/repos/arrayfire/forge/branches{/branch}","tags_url":"https://api.github.com/repos/arrayfire/forge/tags","blobs_url":"https://api.github.com/repos/arrayfire/forge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arrayfire/forge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arrayfire/forge/git/refs{/sha}","trees_url":"https://api.github.com/repos/arrayfire/forge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arrayfire/forge/statuses/{sha}","languages_url":"https://api.github.com/repos/arrayfire/forge/languages","stargazers_url":"https://api.github.com/repos/arrayfire/forge/stargazers","contributors_url":"https://api.github.com/repos/arrayfire/forge/contributors","subscribers_url":"https://api.github.com/repos/arrayfire/forge/subscribers","subscription_url":"https://api.github.com/repos/arrayfire/forge/subscription","commits_url":"https://api.github.com/repos/arrayfire/forge/commits{/sha}","git_commits_url":"https://api.github.com/repos/arrayfire/forge/git/commits{/sha}","comments_url":"https://api.github.com/repos/arrayfire/forge/comments{/number}","issue_comment_url":"https://api.github.com/repos/arrayfire/forge/issues/comments{/number}","contents_url":"https://api.github.com/repos/arrayfire/forge/contents/{+path}","compare_url":"https://api.github.com/repos/arrayfire/forge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arrayfire/forge/merges","archive_url":"https://api.github.com/repos/arrayfire/forge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arrayfire/forge/downloads","issues_url":"https://api.github.com/repos/arrayfire/forge/issues{/number}","pulls_url":"https://api.github.com/repos/arrayfire/forge/pulls{/number}","milestones_url":"https://api.github.com/repos/arrayfire/forge/milestones{/number}","notifications_url":"https://api.github.com/repos/arrayfire/forge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arrayfire/forge/labels{/name}","releases_url":"https://api.github.com/repos/arrayfire/forge/releases{/id}","created_at":"2015-05-19T17:50:08Z","updated_at":"2015-09-08T19:50:20Z","pushed_at":"2015-09-28T19:38:55Z","git_url":"git://github.com/arrayfire/forge.git","ssh_url":"git@github.com:arrayfire/forge.git","clone_url":"https://github.com/arrayfire/forge.git","svn_url":"https://github.com/arrayfire/forge","homepage":null,"size":953,"stargazers_count":7,"watchers_count":7,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":10,"forks":8,"open_issues":10,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arrayfire/forge/pulls/53"},"html":{"href":"https://github.com/arrayfire/forge/pull/53"},"issue":{"href":"https://api.github.com/repos/arrayfire/forge/issues/53"},"comments":{"href":"https://api.github.com/repos/arrayfire/forge/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/arrayfire/forge/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/arrayfire/forge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arrayfire/forge/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/arrayfire/forge/statuses/66d1da4611fd203541bed28cb14c0ea3377dfa4f"}}}}