{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/hbristow/cvmatio/pulls/8","id":44502633,"html_url":"https://github.com/hbristow/cvmatio/pull/8","diff_url":"https://github.com/hbristow/cvmatio/pull/8.diff","patch_url":"https://github.com/hbristow/cvmatio/pull/8.patch","issue_url":"https://api.github.com/repos/hbristow/cvmatio/issues/8","number":8,"state":"open","locked":false,"title":"use const and references whenever possible","user":{"login":"cornsuite","id":5522687,"avatar_url":"https://avatars.githubusercontent.com/u/5522687?v=3","gravatar_id":"","url":"https://api.github.com/users/cornsuite","html_url":"https://github.com/cornsuite","followers_url":"https://api.github.com/users/cornsuite/followers","following_url":"https://api.github.com/users/cornsuite/following{/other_user}","gists_url":"https://api.github.com/users/cornsuite/gists{/gist_id}","starred_url":"https://api.github.com/users/cornsuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornsuite/subscriptions","organizations_url":"https://api.github.com/users/cornsuite/orgs","repos_url":"https://api.github.com/users/cornsuite/repos","events_url":"https://api.github.com/users/cornsuite/events{/privacy}","received_events_url":"https://api.github.com/users/cornsuite/received_events","type":"User","site_admin":false},"body":"this avoids copies when passing arguments to functions or when returning values from functions.\r\nAlso whenever possible const functions are now used.","created_at":"2015-09-09T01:47:42Z","updated_at":"2015-09-09T01:47:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hbristow/cvmatio/pulls/8/commits","review_comments_url":"https://api.github.com/repos/hbristow/cvmatio/pulls/8/comments","review_comment_url":"https://api.github.com/repos/hbristow/cvmatio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hbristow/cvmatio/issues/8/comments","statuses_url":"https://api.github.com/repos/hbristow/cvmatio/statuses/4bed05332e10b3b27774ec8fe71b7c17a94a7f52","head":{"label":"cornsuite:const-ref","ref":"const-ref","sha":"4bed05332e10b3b27774ec8fe71b7c17a94a7f52","user":{"login":"cornsuite","id":5522687,"avatar_url":"https://avatars.githubusercontent.com/u/5522687?v=3","gravatar_id":"","url":"https://api.github.com/users/cornsuite","html_url":"https://github.com/cornsuite","followers_url":"https://api.github.com/users/cornsuite/followers","following_url":"https://api.github.com/users/cornsuite/following{/other_user}","gists_url":"https://api.github.com/users/cornsuite/gists{/gist_id}","starred_url":"https://api.github.com/users/cornsuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornsuite/subscriptions","organizations_url":"https://api.github.com/users/cornsuite/orgs","repos_url":"https://api.github.com/users/cornsuite/repos","events_url":"https://api.github.com/users/cornsuite/events{/privacy}","received_events_url":"https://api.github.com/users/cornsuite/received_events","type":"User","site_admin":false},"repo":{"id":42143905,"name":"cvmatio","full_name":"cornsuite/cvmatio","owner":{"login":"cornsuite","id":5522687,"avatar_url":"https://avatars.githubusercontent.com/u/5522687?v=3","gravatar_id":"","url":"https://api.github.com/users/cornsuite","html_url":"https://github.com/cornsuite","followers_url":"https://api.github.com/users/cornsuite/followers","following_url":"https://api.github.com/users/cornsuite/following{/other_user}","gists_url":"https://api.github.com/users/cornsuite/gists{/gist_id}","starred_url":"https://api.github.com/users/cornsuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornsuite/subscriptions","organizations_url":"https://api.github.com/users/cornsuite/orgs","repos_url":"https://api.github.com/users/cornsuite/repos","events_url":"https://api.github.com/users/cornsuite/events{/privacy}","received_events_url":"https://api.github.com/users/cornsuite/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cornsuite/cvmatio","description":"Matlab Mat file read and write C++ class with OpenCV bindings. Matlab is used a lot in computer vision, and people often share Matlab code or data in Mat-file storage. This small project gives OpenCV users the ability to read and write Mat files natively in C++","fork":true,"url":"https://api.github.com/repos/cornsuite/cvmatio","forks_url":"https://api.github.com/repos/cornsuite/cvmatio/forks","keys_url":"https://api.github.com/repos/cornsuite/cvmatio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cornsuite/cvmatio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cornsuite/cvmatio/teams","hooks_url":"https://api.github.com/repos/cornsuite/cvmatio/hooks","issue_events_url":"https://api.github.com/repos/cornsuite/cvmatio/issues/events{/number}","events_url":"https://api.github.com/repos/cornsuite/cvmatio/events","assignees_url":"https://api.github.com/repos/cornsuite/cvmatio/assignees{/user}","branches_url":"https://api.github.com/repos/cornsuite/cvmatio/branches{/branch}","tags_url":"https://api.github.com/repos/cornsuite/cvmatio/tags","blobs_url":"https://api.github.com/repos/cornsuite/cvmatio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cornsuite/cvmatio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cornsuite/cvmatio/git/refs{/sha}","trees_url":"https://api.github.com/repos/cornsuite/cvmatio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cornsuite/cvmatio/statuses/{sha}","languages_url":"https://api.github.com/repos/cornsuite/cvmatio/languages","stargazers_url":"https://api.github.com/repos/cornsuite/cvmatio/stargazers","contributors_url":"https://api.github.com/repos/cornsuite/cvmatio/contributors","subscribers_url":"https://api.github.com/repos/cornsuite/cvmatio/subscribers","subscription_url":"https://api.github.com/repos/cornsuite/cvmatio/subscription","commits_url":"https://api.github.com/repos/cornsuite/cvmatio/commits{/sha}","git_commits_url":"https://api.github.com/repos/cornsuite/cvmatio/git/commits{/sha}","comments_url":"https://api.github.com/repos/cornsuite/cvmatio/comments{/number}","issue_comment_url":"https://api.github.com/repos/cornsuite/cvmatio/issues/comments{/number}","contents_url":"https://api.github.com/repos/cornsuite/cvmatio/contents/{+path}","compare_url":"https://api.github.com/repos/cornsuite/cvmatio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cornsuite/cvmatio/merges","archive_url":"https://api.github.com/repos/cornsuite/cvmatio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cornsuite/cvmatio/downloads","issues_url":"https://api.github.com/repos/cornsuite/cvmatio/issues{/number}","pulls_url":"https://api.github.com/repos/cornsuite/cvmatio/pulls{/number}","milestones_url":"https://api.github.com/repos/cornsuite/cvmatio/milestones{/number}","notifications_url":"https://api.github.com/repos/cornsuite/cvmatio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cornsuite/cvmatio/labels{/name}","releases_url":"https://api.github.com/repos/cornsuite/cvmatio/releases{/id}","created_at":"2015-09-08T23:12:00Z","updated_at":"2015-09-08T23:12:00Z","pushed_at":"2015-09-09T01:46:47Z","git_url":"git://github.com/cornsuite/cvmatio.git","ssh_url":"git@github.com:cornsuite/cvmatio.git","clone_url":"https://github.com/cornsuite/cvmatio.git","svn_url":"https://github.com/cornsuite/cvmatio","homepage":"","size":6693,"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":"hbristow:master","ref":"master","sha":"015bd09f2acb515835f7637a9329e131fb2cfb48","user":{"login":"hbristow","id":1771288,"avatar_url":"https://avatars.githubusercontent.com/u/1771288?v=3","gravatar_id":"","url":"https://api.github.com/users/hbristow","html_url":"https://github.com/hbristow","followers_url":"https://api.github.com/users/hbristow/followers","following_url":"https://api.github.com/users/hbristow/following{/other_user}","gists_url":"https://api.github.com/users/hbristow/gists{/gist_id}","starred_url":"https://api.github.com/users/hbristow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbristow/subscriptions","organizations_url":"https://api.github.com/users/hbristow/orgs","repos_url":"https://api.github.com/users/hbristow/repos","events_url":"https://api.github.com/users/hbristow/events{/privacy}","received_events_url":"https://api.github.com/users/hbristow/received_events","type":"User","site_admin":false},"repo":{"id":4667852,"name":"cvmatio","full_name":"hbristow/cvmatio","owner":{"login":"hbristow","id":1771288,"avatar_url":"https://avatars.githubusercontent.com/u/1771288?v=3","gravatar_id":"","url":"https://api.github.com/users/hbristow","html_url":"https://github.com/hbristow","followers_url":"https://api.github.com/users/hbristow/followers","following_url":"https://api.github.com/users/hbristow/following{/other_user}","gists_url":"https://api.github.com/users/hbristow/gists{/gist_id}","starred_url":"https://api.github.com/users/hbristow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbristow/subscriptions","organizations_url":"https://api.github.com/users/hbristow/orgs","repos_url":"https://api.github.com/users/hbristow/repos","events_url":"https://api.github.com/users/hbristow/events{/privacy}","received_events_url":"https://api.github.com/users/hbristow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hbristow/cvmatio","description":"Matlab Mat file read and write C++ class with OpenCV bindings. Matlab is used a lot in computer vision, and people often share Matlab code or data in Mat-file storage. This small project gives OpenCV users the ability to read and write Mat files natively in C++","fork":false,"url":"https://api.github.com/repos/hbristow/cvmatio","forks_url":"https://api.github.com/repos/hbristow/cvmatio/forks","keys_url":"https://api.github.com/repos/hbristow/cvmatio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hbristow/cvmatio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hbristow/cvmatio/teams","hooks_url":"https://api.github.com/repos/hbristow/cvmatio/hooks","issue_events_url":"https://api.github.com/repos/hbristow/cvmatio/issues/events{/number}","events_url":"https://api.github.com/repos/hbristow/cvmatio/events","assignees_url":"https://api.github.com/repos/hbristow/cvmatio/assignees{/user}","branches_url":"https://api.github.com/repos/hbristow/cvmatio/branches{/branch}","tags_url":"https://api.github.com/repos/hbristow/cvmatio/tags","blobs_url":"https://api.github.com/repos/hbristow/cvmatio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hbristow/cvmatio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hbristow/cvmatio/git/refs{/sha}","trees_url":"https://api.github.com/repos/hbristow/cvmatio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hbristow/cvmatio/statuses/{sha}","languages_url":"https://api.github.com/repos/hbristow/cvmatio/languages","stargazers_url":"https://api.github.com/repos/hbristow/cvmatio/stargazers","contributors_url":"https://api.github.com/repos/hbristow/cvmatio/contributors","subscribers_url":"https://api.github.com/repos/hbristow/cvmatio/subscribers","subscription_url":"https://api.github.com/repos/hbristow/cvmatio/subscription","commits_url":"https://api.github.com/repos/hbristow/cvmatio/commits{/sha}","git_commits_url":"https://api.github.com/repos/hbristow/cvmatio/git/commits{/sha}","comments_url":"https://api.github.com/repos/hbristow/cvmatio/comments{/number}","issue_comment_url":"https://api.github.com/repos/hbristow/cvmatio/issues/comments{/number}","contents_url":"https://api.github.com/repos/hbristow/cvmatio/contents/{+path}","compare_url":"https://api.github.com/repos/hbristow/cvmatio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hbristow/cvmatio/merges","archive_url":"https://api.github.com/repos/hbristow/cvmatio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hbristow/cvmatio/downloads","issues_url":"https://api.github.com/repos/hbristow/cvmatio/issues{/number}","pulls_url":"https://api.github.com/repos/hbristow/cvmatio/pulls{/number}","milestones_url":"https://api.github.com/repos/hbristow/cvmatio/milestones{/number}","notifications_url":"https://api.github.com/repos/hbristow/cvmatio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hbristow/cvmatio/labels{/name}","releases_url":"https://api.github.com/repos/hbristow/cvmatio/releases{/id}","created_at":"2012-06-14T19:58:40Z","updated_at":"2015-08-12T01:19:37Z","pushed_at":"2015-09-09T01:22:24Z","git_url":"git://github.com/hbristow/cvmatio.git","ssh_url":"git@github.com:hbristow/cvmatio.git","clone_url":"https://github.com/hbristow/cvmatio.git","svn_url":"https://github.com/hbristow/cvmatio","homepage":"","size":6829,"stargazers_count":20,"watchers_count":20,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":7,"forks":19,"open_issues":7,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hbristow/cvmatio/pulls/8"},"html":{"href":"https://github.com/hbristow/cvmatio/pull/8"},"issue":{"href":"https://api.github.com/repos/hbristow/cvmatio/issues/8"},"comments":{"href":"https://api.github.com/repos/hbristow/cvmatio/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/hbristow/cvmatio/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/hbristow/cvmatio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hbristow/cvmatio/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/hbristow/cvmatio/statuses/4bed05332e10b3b27774ec8fe71b7c17a94a7f52"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":35,"deletions":35,"changed_files":4}}