{"action":"opened","issue":{"url":"https://api.github.com/repos/resea/resea/issues/11","labels_url":"https://api.github.com/repos/resea/resea/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/resea/resea/issues/11/comments","events_url":"https://api.github.com/repos/resea/resea/issues/11/events","html_url":"https://github.com/resea/resea/issues/11","id":56471134,"number":11,"title":"Add a new convention in messaging","user":{"login":"nuta","id":5053714,"avatar_url":"https://avatars.githubusercontent.com/u/5053714?v=3","gravatar_id":"","url":"https://api.github.com/users/nuta","html_url":"https://github.com/nuta","followers_url":"https://api.github.com/users/nuta/followers","following_url":"https://api.github.com/users/nuta/following{/other_user}","gists_url":"https://api.github.com/users/nuta/gists{/gist_id}","starred_url":"https://api.github.com/users/nuta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuta/subscriptions","organizations_url":"https://api.github.com/users/nuta/orgs","repos_url":"https://api.github.com/users/nuta/repos","events_url":"https://api.github.com/users/nuta/events{/privacy}","received_events_url":"https://api.github.com/users/nuta/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/resea/resea/labels/RFC","name":"RFC","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-04T02:26:23Z","updated_at":"2015-02-04T02:26:23Z","closed_at":null,"body":"If `m->from` is 0, the sender and receiver are in a same address space.\r\n\r\nConstruct reply message in `m` (received message).\r\n```c\r\nbool isInSameVmspace (Msg *m){\r\n  return !m->from;\r\n}\r\n\r\n/*\r\n *  swap `m->to` and `m->from`\r\n */\r\nfoo_reply_msg *construct_foo_reply_msg (foo_msg *m);\r\n\r\nsend_foo_reply_msg (foo_reply_msg *m){\r\n  if(m->to == 0)  return;\r\n}\r\n```"}}