{"action":"closed","number":292,"pull_request":{"url":"https://api.github.com/repos/openai/mujoco-py/pulls/292","id":216487456,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2NDg3NDU2","html_url":"https://github.com/openai/mujoco-py/pull/292","diff_url":"https://github.com/openai/mujoco-py/pull/292.diff","patch_url":"https://github.com/openai/mujoco-py/pull/292.patch","issue_url":"https://api.github.com/repos/openai/mujoco-py/issues/292","number":292,"state":"closed","locked":false,"title":"generator scripts parses new types","user":{"login":"machinaut","id":79779,"node_id":"MDQ6VXNlcjc5Nzc5","avatar_url":"https://avatars3.githubusercontent.com/u/79779?v=4","gravatar_id":"","url":"https://api.github.com/users/machinaut","html_url":"https://github.com/machinaut","followers_url":"https://api.github.com/users/machinaut/followers","following_url":"https://api.github.com/users/machinaut/following{/other_user}","gists_url":"https://api.github.com/users/machinaut/gists{/gist_id}","starred_url":"https://api.github.com/users/machinaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machinaut/subscriptions","organizations_url":"https://api.github.com/users/machinaut/orgs","repos_url":"https://api.github.com/users/machinaut/repos","events_url":"https://api.github.com/users/machinaut/events{/privacy}","received_events_url":"https://api.github.com/users/machinaut/received_events","type":"User","site_admin":false},"body":"Not quite done for now, but it unlocks a bunch of new `mujoco_py.functions`\r\n\r\nHow this is used right now (gross):\r\n```\r\nimport mujoco_py\r\nfrom ctypes import c_int, addressof\r\n\r\nreturn_value = c_int(0)\r\n\r\n# use this in place of `int*` arguments that are used as return values\r\nmujoco_py.functions.mj_aray(addressof(return_value))\r\n\r\n# return_value has now been updated (new value) by C function\r\n```\r\n\r\nThe better solution is to figure out which `int*` arguments (all of them?) are used as return values, and have them appended to the return value tuple.  Don't have the time for this now, but writing it down for the future.","created_at":"2018-09-19T01:15:56Z","updated_at":"2018-09-21T18:08:27Z","closed_at":"2018-09-21T18:08:27Z","merged_at":"2018-09-21T18:08:27Z","merge_commit_sha":"c3a4f8b1ff6c20fb271933a24c4dd0beb0728c3c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openai/mujoco-py/pulls/292/commits","review_comments_url":"https://api.github.com/repos/openai/mujoco-py/pulls/292/comments","review_comment_url":"https://api.github.com/repos/openai/mujoco-py/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openai/mujoco-py/issues/292/comments","statuses_url":"https://api.github.com/repos/openai/mujoco-py/statuses/ce5542ba6b2bad6cf7f34803c82723c583ed6d04","head":{"label":"openai:aray-newtypes","ref":"aray-newtypes","sha":"ce5542ba6b2bad6cf7f34803c82723c583ed6d04","user":{"login":"openai","id":14957082,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTU3MDgy","avatar_url":"https://avatars0.githubusercontent.com/u/14957082?v=4","gravatar_id":"","url":"https://api.github.com/users/openai","html_url":"https://github.com/openai","followers_url":"https://api.github.com/users/openai/followers","following_url":"https://api.github.com/users/openai/following{/other_user}","gists_url":"https://api.github.com/users/openai/gists{/gist_id}","starred_url":"https://api.github.com/users/openai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openai/subscriptions","organizations_url":"https://api.github.com/users/openai/orgs","repos_url":"https://api.github.com/users/openai/repos","events_url":"https://api.github.com/users/openai/events{/privacy}","received_events_url":"https://api.github.com/users/openai/received_events","type":"Organization","site_admin":false},"repo":{"id":56986017,"node_id":"MDEwOlJlcG9zaXRvcnk1Njk4NjAxNw==","name":"mujoco-py","full_name":"openai/mujoco-py","private":false,"owner":{"login":"openai","id":14957082,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTU3MDgy","avatar_url":"https://avatars0.githubusercontent.com/u/14957082?v=4","gravatar_id":"","url":"https://api.github.com/users/openai","html_url":"https://github.com/openai","followers_url":"https://api.github.com/users/openai/followers","following_url":"https://api.github.com/users/openai/following{/other_user}","gists_url":"https://api.github.com/users/openai/gists{/gist_id}","starred_url":"https://api.github.com/users/openai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openai/subscriptions","organizations_url":"https://api.github.com/users/openai/orgs","repos_url":"https://api.github.com/users/openai/repos","events_url":"https://api.github.com/users/openai/events{/privacy}","received_events_url":"https://api.github.com/users/openai/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/openai/mujoco-py","description":"MuJoCo is a physics engine for detailed, efficient rigid body simulations with contacts. mujoco-py allows using MuJoCo from Python 3.","fork":false,"url":"https://api.github.com/repos/openai/mujoco-py","forks_url":"https://api.github.com/repos/openai/mujoco-py/forks","keys_url":"https://api.github.com/repos/openai/mujoco-py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openai/mujoco-py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openai/mujoco-py/teams","hooks_url":"https://api.github.com/repos/openai/mujoco-py/hooks","issue_events_url":"https://api.github.com/repos/openai/mujoco-py/issues/events{/number}","events_url":"https://api.github.com/repos/openai/mujoco-py/events","assignees_url":"https://api.github.com/repos/openai/mujoco-py/assignees{/user}","branches_url":"https://api.github.com/repos/openai/mujoco-py/branches{/branch}","tags_url":"https://api.github.com/repos/openai/mujoco-py/tags","blobs_url":"https://api.github.com/repos/openai/mujoco-py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openai/mujoco-py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openai/mujoco-py/git/refs{/sha}","trees_url":"https://api.github.com/repos/openai/mujoco-py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openai/mujoco-py/statuses/{sha}","languages_url":"https://api.github.com/repos/openai/mujoco-py/languages","stargazers_url":"https://api.github.com/repos/openai/mujoco-py/stargazers","contributors_url":"https://api.github.com/repos/openai/mujoco-py/contributors","subscribers_url":"https://api.github.com/repos/openai/mujoco-py/subscribers","subscription_url":"https://api.github.com/repos/openai/mujoco-py/subscription","commits_url":"https://api.github.com/repos/openai/mujoco-py/commits{/sha}","git_commits_url":"https://api.github.com/repos/openai/mujoco-py/git/commits{/sha}","comments_url":"https://api.github.com/repos/openai/mujoco-py/comments{/number}","issue_comment_url":"https://api.github.com/repos/openai/mujoco-py/issues/comments{/number}","contents_url":"https://api.github.com/repos/openai/mujoco-py/contents/{+path}","compare_url":"https://api.github.com/repos/openai/mujoco-py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openai/mujoco-py/merges","archive_url":"https://api.github.com/repos/openai/mujoco-py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openai/mujoco-py/downloads","issues_url":"https://api.github.com/repos/openai/mujoco-py/issues{/number}","pulls_url":"https://api.github.com/repos/openai/mujoco-py/pulls{/number}","milestones_url":"https://api.github.com/repos/openai/mujoco-py/milestones{/number}","notifications_url":"https://api.github.com/repos/openai/mujoco-py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openai/mujoco-py/labels{/name}","releases_url":"https://api.github.com/repos/openai/mujoco-py/releases{/id}","deployments_url":"https://api.github.com/repos/openai/mujoco-py/deployments","created_at":"2016-04-24T17:55:58Z","updated_at":"2018-09-21T17:55:35Z","pushed_at":"2018-09-21T18:08:27Z","git_url":"git://github.com/openai/mujoco-py.git","ssh_url":"git@github.com:openai/mujoco-py.git","clone_url":"https://github.com/openai/mujoco-py.git","svn_url":"https://github.com/openai/mujoco-py","homepage":"","size":5608,"stargazers_count":662,"watchers_count":662,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":221,"mirror_url":null,"archived":false,"open_issues_count":145,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":221,"open_issues":145,"watchers":662,"default_branch":"master"}},"base":{"label":"openai:master","ref":"master","sha":"cd247d5fae39f21e913104350e26ac7254fa4b93","user":{"login":"openai","id":14957082,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTU3MDgy","avatar_url":"https://avatars0.githubusercontent.com/u/14957082?v=4","gravatar_id":"","url":"https://api.github.com/users/openai","html_url":"https://github.com/openai","followers_url":"https://api.github.com/users/openai/followers","following_url":"https://api.github.com/users/openai/following{/other_user}","gists_url":"https://api.github.com/users/openai/gists{/gist_id}","starred_url":"https://api.github.com/users/openai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openai/subscriptions","organizations_url":"https://api.github.com/users/openai/orgs","repos_url":"https://api.github.com/users/openai/repos","events_url":"https://api.github.com/users/openai/events{/privacy}","received_events_url":"https://api.github.com/users/openai/received_events","type":"Organization","site_admin":false},"repo":{"id":56986017,"node_id":"MDEwOlJlcG9zaXRvcnk1Njk4NjAxNw==","name":"mujoco-py","full_name":"openai/mujoco-py","private":false,"owner":{"login":"openai","id":14957082,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTU3MDgy","avatar_url":"https://avatars0.githubusercontent.com/u/14957082?v=4","gravatar_id":"","url":"https://api.github.com/users/openai","html_url":"https://github.com/openai","followers_url":"https://api.github.com/users/openai/followers","following_url":"https://api.github.com/users/openai/following{/other_user}","gists_url":"https://api.github.com/users/openai/gists{/gist_id}","starred_url":"https://api.github.com/users/openai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openai/subscriptions","organizations_url":"https://api.github.com/users/openai/orgs","repos_url":"https://api.github.com/users/openai/repos","events_url":"https://api.github.com/users/openai/events{/privacy}","received_events_url":"https://api.github.com/users/openai/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/openai/mujoco-py","description":"MuJoCo is a physics engine for detailed, efficient rigid body simulations with contacts. mujoco-py allows using MuJoCo from Python 3.","fork":false,"url":"https://api.github.com/repos/openai/mujoco-py","forks_url":"https://api.github.com/repos/openai/mujoco-py/forks","keys_url":"https://api.github.com/repos/openai/mujoco-py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openai/mujoco-py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openai/mujoco-py/teams","hooks_url":"https://api.github.com/repos/openai/mujoco-py/hooks","issue_events_url":"https://api.github.com/repos/openai/mujoco-py/issues/events{/number}","events_url":"https://api.github.com/repos/openai/mujoco-py/events","assignees_url":"https://api.github.com/repos/openai/mujoco-py/assignees{/user}","branches_url":"https://api.github.com/repos/openai/mujoco-py/branches{/branch}","tags_url":"https://api.github.com/repos/openai/mujoco-py/tags","blobs_url":"https://api.github.com/repos/openai/mujoco-py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openai/mujoco-py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openai/mujoco-py/git/refs{/sha}","trees_url":"https://api.github.com/repos/openai/mujoco-py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openai/mujoco-py/statuses/{sha}","languages_url":"https://api.github.com/repos/openai/mujoco-py/languages","stargazers_url":"https://api.github.com/repos/openai/mujoco-py/stargazers","contributors_url":"https://api.github.com/repos/openai/mujoco-py/contributors","subscribers_url":"https://api.github.com/repos/openai/mujoco-py/subscribers","subscription_url":"https://api.github.com/repos/openai/mujoco-py/subscription","commits_url":"https://api.github.com/repos/openai/mujoco-py/commits{/sha}","git_commits_url":"https://api.github.com/repos/openai/mujoco-py/git/commits{/sha}","comments_url":"https://api.github.com/repos/openai/mujoco-py/comments{/number}","issue_comment_url":"https://api.github.com/repos/openai/mujoco-py/issues/comments{/number}","contents_url":"https://api.github.com/repos/openai/mujoco-py/contents/{+path}","compare_url":"https://api.github.com/repos/openai/mujoco-py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openai/mujoco-py/merges","archive_url":"https://api.github.com/repos/openai/mujoco-py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openai/mujoco-py/downloads","issues_url":"https://api.github.com/repos/openai/mujoco-py/issues{/number}","pulls_url":"https://api.github.com/repos/openai/mujoco-py/pulls{/number}","milestones_url":"https://api.github.com/repos/openai/mujoco-py/milestones{/number}","notifications_url":"https://api.github.com/repos/openai/mujoco-py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openai/mujoco-py/labels{/name}","releases_url":"https://api.github.com/repos/openai/mujoco-py/releases{/id}","deployments_url":"https://api.github.com/repos/openai/mujoco-py/deployments","created_at":"2016-04-24T17:55:58Z","updated_at":"2018-09-21T17:55:35Z","pushed_at":"2018-09-21T18:08:27Z","git_url":"git://github.com/openai/mujoco-py.git","ssh_url":"git@github.com:openai/mujoco-py.git","clone_url":"https://github.com/openai/mujoco-py.git","svn_url":"https://github.com/openai/mujoco-py","homepage":"","size":5608,"stargazers_count":662,"watchers_count":662,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":221,"mirror_url":null,"archived":false,"open_issues_count":145,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":221,"open_issues":145,"watchers":662,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openai/mujoco-py/pulls/292"},"html":{"href":"https://github.com/openai/mujoco-py/pull/292"},"issue":{"href":"https://api.github.com/repos/openai/mujoco-py/issues/292"},"comments":{"href":"https://api.github.com/repos/openai/mujoco-py/issues/292/comments"},"review_comments":{"href":"https://api.github.com/repos/openai/mujoco-py/pulls/292/comments"},"review_comment":{"href":"https://api.github.com/repos/openai/mujoco-py/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openai/mujoco-py/pulls/292/commits"},"statuses":{"href":"https://api.github.com/repos/openai/mujoco-py/statuses/ce5542ba6b2bad6cf7f34803c82723c583ed6d04"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"machinaut","id":79779,"node_id":"MDQ6VXNlcjc5Nzc5","avatar_url":"https://avatars3.githubusercontent.com/u/79779?v=4","gravatar_id":"","url":"https://api.github.com/users/machinaut","html_url":"https://github.com/machinaut","followers_url":"https://api.github.com/users/machinaut/followers","following_url":"https://api.github.com/users/machinaut/following{/other_user}","gists_url":"https://api.github.com/users/machinaut/gists{/gist_id}","starred_url":"https://api.github.com/users/machinaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machinaut/subscriptions","organizations_url":"https://api.github.com/users/machinaut/orgs","repos_url":"https://api.github.com/users/machinaut/repos","events_url":"https://api.github.com/users/machinaut/events{/privacy}","received_events_url":"https://api.github.com/users/machinaut/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":58,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"machinaut"}}