{"action":"created","issue":{"url":"https://api.github.com/repos/cabo/cn-cbor/issues/11","labels_url":"https://api.github.com/repos/cabo/cn-cbor/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/cabo/cn-cbor/issues/11/comments","events_url":"https://api.github.com/repos/cabo/cn-cbor/issues/11/events","html_url":"https://github.com/cabo/cn-cbor/issues/11","id":66007321,"number":11,"title":"Need a way to indicate whether 64-bit integers are desired or not","user":{"login":"cabo","id":23118,"avatar_url":"https://avatars.githubusercontent.com/u/23118?v=3","gravatar_id":"","url":"https://api.github.com/users/cabo","html_url":"https://github.com/cabo","followers_url":"https://api.github.com/users/cabo/followers","following_url":"https://api.github.com/users/cabo/following{/other_user}","gists_url":"https://api.github.com/users/cabo/gists{/gist_id}","starred_url":"https://api.github.com/users/cabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cabo/subscriptions","organizations_url":"https://api.github.com/users/cabo/orgs","repos_url":"https://api.github.com/users/cabo/repos","events_url":"https://api.github.com/users/cabo/events{/privacy}","received_events_url":"https://api.github.com/users/cabo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-02T20:37:56Z","updated_at":"2015-06-08T22:46:10Z","closed_at":null,"body":"Currently, struct cn_cbor keeps uint/sint as \"unsigned long\".\r\nThis is for applications that don't really need 64-bit integers.\r\nHowever, some do; there should be a configuration option to enable this.\r\n"},"comment":{"url":"https://api.github.com/repos/cabo/cn-cbor/issues/comments/110165059","html_url":"https://github.com/cabo/cn-cbor/issues/11#issuecomment-110165059","issue_url":"https://api.github.com/repos/cabo/cn-cbor/issues/11","id":110165059,"user":{"login":"jimsch","id":4946037,"avatar_url":"https://avatars.githubusercontent.com/u/4946037?v=3","gravatar_id":"","url":"https://api.github.com/users/jimsch","html_url":"https://github.com/jimsch","followers_url":"https://api.github.com/users/jimsch/followers","following_url":"https://api.github.com/users/jimsch/following{/other_user}","gists_url":"https://api.github.com/users/jimsch/gists{/gist_id}","starred_url":"https://api.github.com/users/jimsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimsch/subscriptions","organizations_url":"https://api.github.com/users/jimsch/orgs","repos_url":"https://api.github.com/users/jimsch/repos","events_url":"https://api.github.com/users/jimsch/events{/privacy}","received_events_url":"https://api.github.com/users/jimsch/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T22:46:10Z","updated_at":"2015-06-08T22:46:10Z","body":"Looking at this, I see two ways of dealing with this question.\r\n\r\n1.  define a new type cn_cbor_int which is of the correct size (using an ifdef in one place)\r\n2.  push the ifdef in all of the code wherever it needs to be done.\r\n\r\nAlso we may want to configure if floating point is built in or not.  Lots of systems don't need to have floating point code."}}