{"action":"created","issue":{"url":"https://api.github.com/repos/Gankro/turpl/issues/12","labels_url":"https://api.github.com/repos/Gankro/turpl/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/Gankro/turpl/issues/12/comments","events_url":"https://api.github.com/repos/Gankro/turpl/issues/12/events","html_url":"https://github.com/Gankro/turpl/issues/12","id":94863451,"number":12,"title":"repr(C) \"equivalent to repr(u32) for enums\"","user":{"login":"sp3d","id":4684824,"avatar_url":"https://avatars.githubusercontent.com/u/4684824?v=3","gravatar_id":"","url":"https://api.github.com/users/sp3d","html_url":"https://github.com/sp3d","followers_url":"https://api.github.com/users/sp3d/followers","following_url":"https://api.github.com/users/sp3d/following{/other_user}","gists_url":"https://api.github.com/users/sp3d/gists{/gist_id}","starred_url":"https://api.github.com/users/sp3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sp3d/subscriptions","organizations_url":"https://api.github.com/users/sp3d/orgs","repos_url":"https://api.github.com/users/sp3d/repos","events_url":"https://api.github.com/users/sp3d/events{/privacy}","received_events_url":"https://api.github.com/users/sp3d/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-14T04:11:17Z","updated_at":"2015-07-14T05:23:40Z","closed_at":null,"body":"It's common, but definitely not universal (see -fshort-enums) for C compilers to represent enums with 32 bits. Could TURPL mention this subtlety and clarify the justification for Rust simply assuming C to use 32-bit enum representation (if that's indeed what rustc does)?\r\n\r\nThis thread seems relevant: http://gcc.gnu.org/ml/gcc/2005-09/msg00728.html"},"comment":{"url":"https://api.github.com/repos/Gankro/turpl/issues/comments/121135457","html_url":"https://github.com/Gankro/turpl/issues/12#issuecomment-121135457","issue_url":"https://api.github.com/repos/Gankro/turpl/issues/12","id":121135457,"user":{"login":"Gankro","id":1136864,"avatar_url":"https://avatars.githubusercontent.com/u/1136864?v=3","gravatar_id":"","url":"https://api.github.com/users/Gankro","html_url":"https://github.com/Gankro","followers_url":"https://api.github.com/users/Gankro/followers","following_url":"https://api.github.com/users/Gankro/following{/other_user}","gists_url":"https://api.github.com/users/Gankro/gists{/gist_id}","starred_url":"https://api.github.com/users/Gankro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gankro/subscriptions","organizations_url":"https://api.github.com/users/Gankro/orgs","repos_url":"https://api.github.com/users/Gankro/repos","events_url":"https://api.github.com/users/Gankro/events{/privacy}","received_events_url":"https://api.github.com/users/Gankro/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T05:23:40Z","updated_at":"2015-07-14T05:23:40Z","body":"Ah actually the reference actually specifies exactly what you're saying! Will fix."}}