{"action":"closed","number":32,"pull_request":{"url":"https://api.github.com/repos/siemens/embb/pulls/32","id":95454817,"html_url":"https://github.com/siemens/embb/pull/32","diff_url":"https://github.com/siemens/embb/pull/32.diff","patch_url":"https://github.com/siemens/embb/pull/32.patch","issue_url":"https://api.github.com/repos/siemens/embb/issues/32","number":32,"state":"closed","locked":false,"title":"Big endian support for MTAPI attributes","user":{"login":"sebhub","id":932056,"avatar_url":"https://avatars.githubusercontent.com/u/932056?v=3","gravatar_id":"","url":"https://api.github.com/users/sebhub","html_url":"https://github.com/sebhub","followers_url":"https://api.github.com/users/sebhub/followers","following_url":"https://api.github.com/users/sebhub/following{/other_user}","gists_url":"https://api.github.com/users/sebhub/gists{/gist_id}","starred_url":"https://api.github.com/users/sebhub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebhub/subscriptions","organizations_url":"https://api.github.com/users/sebhub/orgs","repos_url":"https://api.github.com/users/sebhub/repos","events_url":"https://api.github.com/users/sebhub/events{/privacy}","received_events_url":"https://api.github.com/users/sebhub/received_events","type":"User","site_admin":false},"body":"The use of memcpy() is a bit tricky on big endian targets if the source\r\nand destination type have a different width.  Something like this must\r\nbe used:\r\n\r\nsource = (const char *)&attribute + sizeof(void *) - sizeof(TYPE);\r\nmemcpy(target, source, sizeof(TYPE));\r\n\r\nUse a cast to uintptr_t to avoid the memcpy().","created_at":"2016-11-28T08:23:45Z","updated_at":"2016-12-08T11:40:32Z","closed_at":"2016-12-08T11:40:32Z","merged_at":"2016-12-08T11:40:32Z","merge_commit_sha":"111d601ce09935c9f5eb3a16de6dfffe32405cd8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/siemens/embb/pulls/32/commits","review_comments_url":"https://api.github.com/repos/siemens/embb/pulls/32/comments","review_comment_url":"https://api.github.com/repos/siemens/embb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/siemens/embb/issues/32/comments","statuses_url":"https://api.github.com/repos/siemens/embb/statuses/f83b8800461c64837832ef20686ca1928d05844c","head":{"label":"sebhub:big-endian","ref":"big-endian","sha":"f83b8800461c64837832ef20686ca1928d05844c","user":{"login":"sebhub","id":932056,"avatar_url":"https://avatars.githubusercontent.com/u/932056?v=3","gravatar_id":"","url":"https://api.github.com/users/sebhub","html_url":"https://github.com/sebhub","followers_url":"https://api.github.com/users/sebhub/followers","following_url":"https://api.github.com/users/sebhub/following{/other_user}","gists_url":"https://api.github.com/users/sebhub/gists{/gist_id}","starred_url":"https://api.github.com/users/sebhub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebhub/subscriptions","organizations_url":"https://api.github.com/users/sebhub/orgs","repos_url":"https://api.github.com/users/sebhub/repos","events_url":"https://api.github.com/users/sebhub/events{/privacy}","received_events_url":"https://api.github.com/users/sebhub/received_events","type":"User","site_admin":false},"repo":{"id":74335671,"name":"embb","full_name":"sebhub/embb","owner":{"login":"sebhub","id":932056,"avatar_url":"https://avatars.githubusercontent.com/u/932056?v=3","gravatar_id":"","url":"https://api.github.com/users/sebhub","html_url":"https://github.com/sebhub","followers_url":"https://api.github.com/users/sebhub/followers","following_url":"https://api.github.com/users/sebhub/following{/other_user}","gists_url":"https://api.github.com/users/sebhub/gists{/gist_id}","starred_url":"https://api.github.com/users/sebhub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebhub/subscriptions","organizations_url":"https://api.github.com/users/sebhub/orgs","repos_url":"https://api.github.com/users/sebhub/repos","events_url":"https://api.github.com/users/sebhub/events{/privacy}","received_events_url":"https://api.github.com/users/sebhub/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sebhub/embb","description":"Embedded Multicore Building Blocks (EMB²)","fork":true,"url":"https://api.github.com/repos/sebhub/embb","forks_url":"https://api.github.com/repos/sebhub/embb/forks","keys_url":"https://api.github.com/repos/sebhub/embb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sebhub/embb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sebhub/embb/teams","hooks_url":"https://api.github.com/repos/sebhub/embb/hooks","issue_events_url":"https://api.github.com/repos/sebhub/embb/issues/events{/number}","events_url":"https://api.github.com/repos/sebhub/embb/events","assignees_url":"https://api.github.com/repos/sebhub/embb/assignees{/user}","branches_url":"https://api.github.com/repos/sebhub/embb/branches{/branch}","tags_url":"https://api.github.com/repos/sebhub/embb/tags","blobs_url":"https://api.github.com/repos/sebhub/embb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sebhub/embb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sebhub/embb/git/refs{/sha}","trees_url":"https://api.github.com/repos/sebhub/embb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sebhub/embb/statuses/{sha}","languages_url":"https://api.github.com/repos/sebhub/embb/languages","stargazers_url":"https://api.github.com/repos/sebhub/embb/stargazers","contributors_url":"https://api.github.com/repos/sebhub/embb/contributors","subscribers_url":"https://api.github.com/repos/sebhub/embb/subscribers","subscription_url":"https://api.github.com/repos/sebhub/embb/subscription","commits_url":"https://api.github.com/repos/sebhub/embb/commits{/sha}","git_commits_url":"https://api.github.com/repos/sebhub/embb/git/commits{/sha}","comments_url":"https://api.github.com/repos/sebhub/embb/comments{/number}","issue_comment_url":"https://api.github.com/repos/sebhub/embb/issues/comments{/number}","contents_url":"https://api.github.com/repos/sebhub/embb/contents/{+path}","compare_url":"https://api.github.com/repos/sebhub/embb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sebhub/embb/merges","archive_url":"https://api.github.com/repos/sebhub/embb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sebhub/embb/downloads","issues_url":"https://api.github.com/repos/sebhub/embb/issues{/number}","pulls_url":"https://api.github.com/repos/sebhub/embb/pulls{/number}","milestones_url":"https://api.github.com/repos/sebhub/embb/milestones{/number}","notifications_url":"https://api.github.com/repos/sebhub/embb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sebhub/embb/labels{/name}","releases_url":"https://api.github.com/repos/sebhub/embb/releases{/id}","deployments_url":"https://api.github.com/repos/sebhub/embb/deployments","created_at":"2016-11-21T07:03:43Z","updated_at":"2016-11-21T07:03:45Z","pushed_at":"2016-12-05T09:54:10Z","git_url":"git://github.com/sebhub/embb.git","ssh_url":"git@github.com:sebhub/embb.git","clone_url":"https://github.com/sebhub/embb.git","svn_url":"https://github.com/sebhub/embb","homepage":"https://embb.io","size":17703,"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":"siemens:development","ref":"development","sha":"bfddc77f329b029ed7998fa31690054c2749ce2e","user":{"login":"siemens","id":624020,"avatar_url":"https://avatars.githubusercontent.com/u/624020?v=3","gravatar_id":"","url":"https://api.github.com/users/siemens","html_url":"https://github.com/siemens","followers_url":"https://api.github.com/users/siemens/followers","following_url":"https://api.github.com/users/siemens/following{/other_user}","gists_url":"https://api.github.com/users/siemens/gists{/gist_id}","starred_url":"https://api.github.com/users/siemens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siemens/subscriptions","organizations_url":"https://api.github.com/users/siemens/orgs","repos_url":"https://api.github.com/users/siemens/repos","events_url":"https://api.github.com/users/siemens/events{/privacy}","received_events_url":"https://api.github.com/users/siemens/received_events","type":"Organization","site_admin":false},"repo":{"id":24610201,"name":"embb","full_name":"siemens/embb","owner":{"login":"siemens","id":624020,"avatar_url":"https://avatars.githubusercontent.com/u/624020?v=3","gravatar_id":"","url":"https://api.github.com/users/siemens","html_url":"https://github.com/siemens","followers_url":"https://api.github.com/users/siemens/followers","following_url":"https://api.github.com/users/siemens/following{/other_user}","gists_url":"https://api.github.com/users/siemens/gists{/gist_id}","starred_url":"https://api.github.com/users/siemens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siemens/subscriptions","organizations_url":"https://api.github.com/users/siemens/orgs","repos_url":"https://api.github.com/users/siemens/repos","events_url":"https://api.github.com/users/siemens/events{/privacy}","received_events_url":"https://api.github.com/users/siemens/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/siemens/embb","description":"Embedded Multicore Building Blocks (EMB²)","fork":false,"url":"https://api.github.com/repos/siemens/embb","forks_url":"https://api.github.com/repos/siemens/embb/forks","keys_url":"https://api.github.com/repos/siemens/embb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/siemens/embb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/siemens/embb/teams","hooks_url":"https://api.github.com/repos/siemens/embb/hooks","issue_events_url":"https://api.github.com/repos/siemens/embb/issues/events{/number}","events_url":"https://api.github.com/repos/siemens/embb/events","assignees_url":"https://api.github.com/repos/siemens/embb/assignees{/user}","branches_url":"https://api.github.com/repos/siemens/embb/branches{/branch}","tags_url":"https://api.github.com/repos/siemens/embb/tags","blobs_url":"https://api.github.com/repos/siemens/embb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/siemens/embb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/siemens/embb/git/refs{/sha}","trees_url":"https://api.github.com/repos/siemens/embb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/siemens/embb/statuses/{sha}","languages_url":"https://api.github.com/repos/siemens/embb/languages","stargazers_url":"https://api.github.com/repos/siemens/embb/stargazers","contributors_url":"https://api.github.com/repos/siemens/embb/contributors","subscribers_url":"https://api.github.com/repos/siemens/embb/subscribers","subscription_url":"https://api.github.com/repos/siemens/embb/subscription","commits_url":"https://api.github.com/repos/siemens/embb/commits{/sha}","git_commits_url":"https://api.github.com/repos/siemens/embb/git/commits{/sha}","comments_url":"https://api.github.com/repos/siemens/embb/comments{/number}","issue_comment_url":"https://api.github.com/repos/siemens/embb/issues/comments{/number}","contents_url":"https://api.github.com/repos/siemens/embb/contents/{+path}","compare_url":"https://api.github.com/repos/siemens/embb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/siemens/embb/merges","archive_url":"https://api.github.com/repos/siemens/embb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/siemens/embb/downloads","issues_url":"https://api.github.com/repos/siemens/embb/issues{/number}","pulls_url":"https://api.github.com/repos/siemens/embb/pulls{/number}","milestones_url":"https://api.github.com/repos/siemens/embb/milestones{/number}","notifications_url":"https://api.github.com/repos/siemens/embb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/siemens/embb/labels{/name}","releases_url":"https://api.github.com/repos/siemens/embb/releases{/id}","deployments_url":"https://api.github.com/repos/siemens/embb/deployments","created_at":"2014-09-29T19:45:49Z","updated_at":"2016-12-07T11:45:58Z","pushed_at":"2016-12-08T11:40:32Z","git_url":"git://github.com/siemens/embb.git","ssh_url":"git@github.com:siemens/embb.git","clone_url":"https://github.com/siemens/embb.git","svn_url":"https://github.com/siemens/embb","homepage":"https://embb.io","size":17740,"stargazers_count":37,"watchers_count":37,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"open_issues_count":15,"forks":16,"open_issues":15,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/siemens/embb/pulls/32"},"html":{"href":"https://github.com/siemens/embb/pull/32"},"issue":{"href":"https://api.github.com/repos/siemens/embb/issues/32"},"comments":{"href":"https://api.github.com/repos/siemens/embb/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/siemens/embb/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/siemens/embb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/siemens/embb/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/siemens/embb/statuses/f83b8800461c64837832ef20686ca1928d05844c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tobias-schuele","id":8639867,"avatar_url":"https://avatars.githubusercontent.com/u/8639867?v=3","gravatar_id":"","url":"https://api.github.com/users/tobias-schuele","html_url":"https://github.com/tobias-schuele","followers_url":"https://api.github.com/users/tobias-schuele/followers","following_url":"https://api.github.com/users/tobias-schuele/following{/other_user}","gists_url":"https://api.github.com/users/tobias-schuele/gists{/gist_id}","starred_url":"https://api.github.com/users/tobias-schuele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobias-schuele/subscriptions","organizations_url":"https://api.github.com/users/tobias-schuele/orgs","repos_url":"https://api.github.com/users/tobias-schuele/repos","events_url":"https://api.github.com/users/tobias-schuele/events{/privacy}","received_events_url":"https://api.github.com/users/tobias-schuele/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"tobias-schuele"}}