{"action":"opened","issue":{"url":"https://api.github.com/repos/charto/nbind/issues/27","repository_url":"https://api.github.com/repos/charto/nbind","labels_url":"https://api.github.com/repos/charto/nbind/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/charto/nbind/issues/27/comments","events_url":"https://api.github.com/repos/charto/nbind/issues/27/events","html_url":"https://github.com/charto/nbind/issues/27","id":170656439,"number":27,"title":"NBIND_ERR doesn't copy the character array","user":{"login":"TanninOne","id":8525754,"avatar_url":"https://avatars.githubusercontent.com/u/8525754?v=3","gravatar_id":"","url":"https://api.github.com/users/TanninOne","html_url":"https://github.com/TanninOne","followers_url":"https://api.github.com/users/TanninOne/followers","following_url":"https://api.github.com/users/TanninOne/following{/other_user}","gists_url":"https://api.github.com/users/TanninOne/gists{/gist_id}","starred_url":"https://api.github.com/users/TanninOne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TanninOne/subscriptions","organizations_url":"https://api.github.com/users/TanninOne/orgs","repos_url":"https://api.github.com/users/TanninOne/repos","events_url":"https://api.github.com/users/TanninOne/events{/privacy}","received_events_url":"https://api.github.com/users/TanninOne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-11T14:15:55Z","updated_at":"2016-08-11T14:15:55Z","closed_at":null,"body":"Great library, seems to be very useful!\r\n\r\nI noticed the hard way that NBIND_ERR neither copies nor releases the string passed in, so it relies on the caller to somehow manage the lifetime of the buffer until it is no longer required by nbind. This seems fairly impractical, so the functionality is only really usable with literals.\r\nIt may be sufficient to mention this in the documentation or simply replace Status::message by a std::string?\r\n\r\nAlso, would it be possible to provide something like NBIND_LOG as an easy way to log messages during development?"}}
{"actor":{"display_login":"TanninOne"}}