{"action":"created","issue":{"url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/513","repository_url":"https://api.github.com/repos/intel-iot-devkit/mraa","labels_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/513/labels{/name}","comments_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/513/comments","events_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/513/events","html_url":"https://github.com/intel-iot-devkit/mraa/pull/513","id":155985238,"number":513,"title":"mraa.c: Added common function to init io from a description","user":{"login":"Hbrinj","id":6247885,"avatar_url":"https://avatars.githubusercontent.com/u/6247885?v=3","gravatar_id":"","url":"https://api.github.com/users/Hbrinj","html_url":"https://github.com/Hbrinj","followers_url":"https://api.github.com/users/Hbrinj/followers","following_url":"https://api.github.com/users/Hbrinj/following{/other_user}","gists_url":"https://api.github.com/users/Hbrinj/gists{/gist_id}","starred_url":"https://api.github.com/users/Hbrinj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hbrinj/subscriptions","organizations_url":"https://api.github.com/users/Hbrinj/orgs","repos_url":"https://api.github.com/users/Hbrinj/repos","events_url":"https://api.github.com/users/Hbrinj/events{/privacy}","received_events_url":"https://api.github.com/users/Hbrinj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-20T15:10:05Z","updated_at":"2016-05-22T13:56:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/intel-iot-devkit/mraa/pulls/513","html_url":"https://github.com/intel-iot-devkit/mraa/pull/513","diff_url":"https://github.com/intel-iot-devkit/mraa/pull/513.diff","patch_url":"https://github.com/intel-iot-devkit/mraa/pull/513.patch"},"body":"mraa_init_io: Added to allow io to be initialised using a description\r\nAio Constructor: changed the unsigned int constructor to a normal int type, ambiguity errors arose due to the double meaning of unsigned 0 in c++, either the unsigned 0 or a void* to a NULL\r\nmraajava.i: Added ignore's for the void* constructors for Aio,Pwm etc., this was because java doesn't know how to handle them\r\npython/mraa.i: Added ignores for the void* constructors because they have no use in python\r\n\r\nSigned-off-by: Houman Brinjcargorabi <houman.brinjcargorabi@intel.com>"},"comment":{"url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/comments/220833810","html_url":"https://github.com/intel-iot-devkit/mraa/pull/513#issuecomment-220833810","issue_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/513","id":220833810,"user":{"login":"alext-mkrs","id":6135723,"avatar_url":"https://avatars.githubusercontent.com/u/6135723?v=3","gravatar_id":"","url":"https://api.github.com/users/alext-mkrs","html_url":"https://github.com/alext-mkrs","followers_url":"https://api.github.com/users/alext-mkrs/followers","following_url":"https://api.github.com/users/alext-mkrs/following{/other_user}","gists_url":"https://api.github.com/users/alext-mkrs/gists{/gist_id}","starred_url":"https://api.github.com/users/alext-mkrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alext-mkrs/subscriptions","organizations_url":"https://api.github.com/users/alext-mkrs/orgs","repos_url":"https://api.github.com/users/alext-mkrs/repos","events_url":"https://api.github.com/users/alext-mkrs/events{/privacy}","received_events_url":"https://api.github.com/users/alext-mkrs/received_events","type":"User","site_admin":false},"created_at":"2016-05-22T13:56:17Z","updated_at":"2016-05-22T13:56:17Z","body":"I've commented on a couple of lines with magic constants (but not all of them, there are more).\r\n\r\nWith corrected description it now makes more sense, but at the same time it's clear there are four unrelated changes in a single commit, you need to split them into four commits.\r\n\r\nWhere is that \"description\" init way is useful, could you provide any examples where that works better than the current way?"}}
{"actor":{"display_login":"alext-mkrs"}}