{"action":"reopened","issue":{"url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/1995","repository_url":"https://api.github.com/repos/raffenet/mpich-migrate-test","labels_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/1995/labels{/name}","comments_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/1995/comments","events_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/issues/1995/events","html_url":"https://github.com/raffenet/mpich-migrate-test/issues/1995","id":169262727,"number":1995,"title":"Inconsistent void ** vs. void *","user":{"login":"raffenet","id":1410792,"avatar_url":"https://avatars.githubusercontent.com/u/1410792?v=3","gravatar_id":"","url":"https://api.github.com/users/raffenet","html_url":"https://github.com/raffenet","followers_url":"https://api.github.com/users/raffenet/followers","following_url":"https://api.github.com/users/raffenet/following{/other_user}","gists_url":"https://api.github.com/users/raffenet/gists{/gist_id}","starred_url":"https://api.github.com/users/raffenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffenet/subscriptions","organizations_url":"https://api.github.com/users/raffenet/orgs","repos_url":"https://api.github.com/users/raffenet/repos","events_url":"https://api.github.com/users/raffenet/events{/privacy}","received_events_url":"https://api.github.com/users/raffenet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"raffenet","id":1410792,"avatar_url":"https://avatars.githubusercontent.com/u/1410792?v=3","gravatar_id":"","url":"https://api.github.com/users/raffenet","html_url":"https://github.com/raffenet","followers_url":"https://api.github.com/users/raffenet/followers","following_url":"https://api.github.com/users/raffenet/following{/other_user}","gists_url":"https://api.github.com/users/raffenet/gists{/gist_id}","starred_url":"https://api.github.com/users/raffenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffenet/subscriptions","organizations_url":"https://api.github.com/users/raffenet/orgs","repos_url":"https://api.github.com/users/raffenet/repos","events_url":"https://api.github.com/users/raffenet/events{/privacy}","received_events_url":"https://api.github.com/users/raffenet/received_events","type":"User","site_admin":false},"assignees":[{"login":"raffenet","id":1410792,"avatar_url":"https://avatars.githubusercontent.com/u/1410792?v=3","gravatar_id":"","url":"https://api.github.com/users/raffenet","html_url":"https://github.com/raffenet","followers_url":"https://api.github.com/users/raffenet/followers","following_url":"https://api.github.com/users/raffenet/following{/other_user}","gists_url":"https://api.github.com/users/raffenet/gists{/gist_id}","starred_url":"https://api.github.com/users/raffenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffenet/subscriptions","organizations_url":"https://api.github.com/users/raffenet/orgs","repos_url":"https://api.github.com/users/raffenet/repos","events_url":"https://api.github.com/users/raffenet/events{/privacy}","received_events_url":"https://api.github.com/users/raffenet/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/raffenet/mpich-migrate-test/milestones/23","html_url":"https://github.com/raffenet/mpich-migrate-test/milestones/mpich-3.1.1","labels_url":"https://api.github.com/repos/raffenet/mpich-migrate-test/milestones/23/labels","id":1911853,"number":23,"title":"mpich-3.1.1","description":"This is a bug-fix release.","creator":{"login":"raffenet","id":1410792,"avatar_url":"https://avatars.githubusercontent.com/u/1410792?v=3","gravatar_id":"","url":"https://api.github.com/users/raffenet","html_url":"https://github.com/raffenet","followers_url":"https://api.github.com/users/raffenet/followers","following_url":"https://api.github.com/users/raffenet/following{/other_user}","gists_url":"https://api.github.com/users/raffenet/gists{/gist_id}","starred_url":"https://api.github.com/users/raffenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffenet/subscriptions","organizations_url":"https://api.github.com/users/raffenet/orgs","repos_url":"https://api.github.com/users/raffenet/repos","events_url":"https://api.github.com/users/raffenet/events{/privacy}","received_events_url":"https://api.github.com/users/raffenet/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":18,"state":"closed","created_at":"2016-07-29T14:57:31Z","updated_at":"2016-08-04T00:07:54Z","due_on":"2014-06-01T05:00:00Z","closed_at":"2016-07-29T14:57:31Z"},"comments":4,"created_at":"2016-08-04T00:07:50Z","updated_at":"2016-08-04T00:07:54Z","closed_at":null,"body":"**Originally by _Su Huang <suhuang@us.ibm.com>_ on 2013-12-30 11:01:32 -0600**\n\n___\nMPI 3.0 defines the baseptr in the following three functions as  `void * (OUT)`, why the same field in mpiimpl.h  is defined as `void **` in MPID_Win_allocate_shared and is defined as `void *` in the other two?\n\nMPI 3.0 defines the following:\n\n```\nint MPI_Win_allocate(MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, void *baseptr, MPI_Win *win)\n  \nint MPI_Win_allocate_shared(MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, void *baseptr, MPI *win)\n \nint MPI_Win_shared_query(MPI_Win win, int rank, MPI_Aint *size, int *disp_unit, void *baseptr)\n```\n\nThe baseptr input argument in the above mentioned functions is defined as `OUT` and `void *` \n\nin mpiimpl.h:\n\n```\nint MPID_Win_allocate(MPI_Aint size, int disp_unit, MPID_Info *info,\n                      MPID_Comm *comm, void *baseptr, MPID_Win **win);\n\nint MPID_Win_allocate_shared(MPI_Aint size, int disp_unit, MPID_Info *info_ptr, MPID_Comm *comm_ptr, void **base_ptr, MPID_Win **win_ptr);\n\nint MPID_Win_shared_query(MPID_Win *win, int rank, MPI_Aint *size, int *disp_unit,\n                          void *baseptr);\n```"}}
{"actor":{"display_login":"raffenet"}}