{"action":"closed","issue":{"url":"https://api.github.com/repos/pmem/issues/issues/139","labels_url":"https://api.github.com/repos/pmem/issues/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/pmem/issues/issues/139/comments","events_url":"https://api.github.com/repos/pmem/issues/issues/139/events","html_url":"https://github.com/pmem/issues/issues/139","id":129622845,"number":139,"title":"Some pmen functions need const addr","user":{"login":"whbridge","id":10802193,"avatar_url":"https://avatars.githubusercontent.com/u/10802193?v=3","gravatar_id":"","url":"https://api.github.com/users/whbridge","html_url":"https://github.com/whbridge","followers_url":"https://api.github.com/users/whbridge/followers","following_url":"https://api.github.com/users/whbridge/following{/other_user}","gists_url":"https://api.github.com/users/whbridge/gists{/gist_id}","starred_url":"https://api.github.com/users/whbridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whbridge/subscriptions","organizations_url":"https://api.github.com/users/whbridge/orgs","repos_url":"https://api.github.com/users/whbridge/repos","events_url":"https://api.github.com/users/whbridge/events{/privacy}","received_events_url":"https://api.github.com/users/whbridge/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pmem/issues/labels/Exposure:%20High","name":"Exposure: High","color":"fbca04"},{"url":"https://api.github.com/repos/pmem/issues/labels/Priority:%202%20high","name":"Priority: 2 high","color":"207de5"},{"url":"https://api.github.com/repos/pmem/issues/labels/Type:%20Bug","name":"Type: Bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"krzycz","id":8184299,"avatar_url":"https://avatars.githubusercontent.com/u/8184299?v=3","gravatar_id":"","url":"https://api.github.com/users/krzycz","html_url":"https://github.com/krzycz","followers_url":"https://api.github.com/users/krzycz/followers","following_url":"https://api.github.com/users/krzycz/following{/other_user}","gists_url":"https://api.github.com/users/krzycz/gists{/gist_id}","starred_url":"https://api.github.com/users/krzycz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzycz/subscriptions","organizations_url":"https://api.github.com/users/krzycz/orgs","repos_url":"https://api.github.com/users/krzycz/repos","events_url":"https://api.github.com/users/krzycz/events{/privacy}","received_events_url":"https://api.github.com/users/krzycz/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-01-29T00:06:05Z","updated_at":"2016-02-01T15:36:50Z","closed_at":"2016-02-01T15:36:50Z","body":"The addr argument to pmem_is_pmem, pmem_persist, pmem_msync, and pmem_flush is of type void *. Since none of these functions modify the memory pointed to by addr, the type should be const void *."}}