{"action":"created","issue":{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/904","labels_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/904/labels{/name}","comments_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/904/comments","events_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/904/events","html_url":"https://github.com/CorsixTH/CorsixTH/pull/904","id":109207622,"number":904,"title":"[WIP|RFC] Reduce macro usage","user":{"login":"TheCycoONE","id":823433,"avatar_url":"https://avatars.githubusercontent.com/u/823433?v=3","gravatar_id":"","url":"https://api.github.com/users/TheCycoONE","html_url":"https://github.com/TheCycoONE","followers_url":"https://api.github.com/users/TheCycoONE/followers","following_url":"https://api.github.com/users/TheCycoONE/following{/other_user}","gists_url":"https://api.github.com/users/TheCycoONE/gists{/gist_id}","starred_url":"https://api.github.com/users/TheCycoONE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheCycoONE/subscriptions","organizations_url":"https://api.github.com/users/TheCycoONE/orgs","repos_url":"https://api.github.com/users/TheCycoONE/repos","events_url":"https://api.github.com/users/TheCycoONE/events{/privacy}","received_events_url":"https://api.github.com/users/TheCycoONE/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-01T00:41:46Z","updated_at":"2015-10-06T01:22:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/pulls/904","html_url":"https://github.com/CorsixTH/CorsixTH/pull/904","diff_url":"https://github.com/CorsixTH/CorsixTH/pull/904.diff","patch_url":"https://github.com/CorsixTH/CorsixTH/pull/904.patch"},"body":"Replaces many macros with consts or inline functions.\r\nIn a couple cases I changed types to match where they are used and avoid casts."},"comment":{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/comments/145717664","html_url":"https://github.com/CorsixTH/CorsixTH/pull/904#issuecomment-145717664","issue_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/904","id":145717664,"user":{"login":"TheCycoONE","id":823433,"avatar_url":"https://avatars.githubusercontent.com/u/823433?v=3","gravatar_id":"","url":"https://api.github.com/users/TheCycoONE","html_url":"https://github.com/TheCycoONE","followers_url":"https://api.github.com/users/TheCycoONE/followers","following_url":"https://api.github.com/users/TheCycoONE/following{/other_user}","gists_url":"https://api.github.com/users/TheCycoONE/gists{/gist_id}","starred_url":"https://api.github.com/users/TheCycoONE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheCycoONE/subscriptions","organizations_url":"https://api.github.com/users/TheCycoONE/orgs","repos_url":"https://api.github.com/users/TheCycoONE/repos","events_url":"https://api.github.com/users/TheCycoONE/events{/privacy}","received_events_url":"https://api.github.com/users/TheCycoONE/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T01:22:21Z","updated_at":"2015-10-06T01:22:21Z","body":"Ok I've made the rest of the changes mentioned by @Alberth289346 that were appropriate. In the case of the lua.hpp functions there is already a comment in that file explaining why those functions are being defined. I've additionally changed rangeScale to range_scale to match other functions in that file."}}