{"action":"created","issue":{"url":"https://api.github.com/repos/halide/Halide/issues/676","labels_url":"https://api.github.com/repos/halide/Halide/issues/676/labels{/name}","comments_url":"https://api.github.com/repos/halide/Halide/issues/676/comments","events_url":"https://api.github.com/repos/halide/Halide/issues/676/events","html_url":"https://github.com/halide/Halide/pull/676","id":58287841,"number":676,"title":"Add halide_type_code_t","user":{"login":"steven-johnson","id":328955,"avatar_url":"https://avatars.githubusercontent.com/u/328955?v=3","gravatar_id":"","url":"https://api.github.com/users/steven-johnson","html_url":"https://github.com/steven-johnson","followers_url":"https://api.github.com/users/steven-johnson/followers","following_url":"https://api.github.com/users/steven-johnson/following{/other_user}","gists_url":"https://api.github.com/users/steven-johnson/gists{/gist_id}","starred_url":"https://api.github.com/users/steven-johnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steven-johnson/subscriptions","organizations_url":"https://api.github.com/users/steven-johnson/orgs","repos_url":"https://api.github.com/users/steven-johnson/repos","events_url":"https://api.github.com/users/steven-johnson/events{/privacy}","received_events_url":"https://api.github.com/users/steven-johnson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-19T23:30:55Z","updated_at":"2015-02-21T00:03:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/halide/Halide/pulls/676","html_url":"https://github.com/halide/Halide/pull/676","diff_url":"https://github.com/halide/Halide/pull/676.diff","patch_url":"https://github.com/halide/Halide/pull/676.patch"},"body":"We need a runtime-suitable enum that corresponds to Type::TypeCode,\r\nboth for use in Metadata (Issue #664) and to add to buffer_t at some\r\npoint in the future. This defines an enum in HalideRuntime.h to pave\r\nthe way for these uses, and redefines the values of Type::TypeCode to\r\nmatch them.\r\n\r\n(It seems infeasible to replace Type::TypeCode entirely, as the runtime\r\nversion needs to be C-compatible, and preserving source compatibility\r\nwould require polluting the global namespace with (e.g.) “Int”, etc.)"},"comment":{"url":"https://api.github.com/repos/halide/Halide/issues/comments/75342095","html_url":"https://github.com/halide/Halide/pull/676#issuecomment-75342095","issue_url":"https://api.github.com/repos/halide/Halide/issues/676","id":75342095,"user":{"login":"steven-johnson","id":328955,"avatar_url":"https://avatars.githubusercontent.com/u/328955?v=3","gravatar_id":"","url":"https://api.github.com/users/steven-johnson","html_url":"https://github.com/steven-johnson","followers_url":"https://api.github.com/users/steven-johnson/followers","following_url":"https://api.github.com/users/steven-johnson/following{/other_user}","gists_url":"https://api.github.com/users/steven-johnson/gists{/gist_id}","starred_url":"https://api.github.com/users/steven-johnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steven-johnson/subscriptions","organizations_url":"https://api.github.com/users/steven-johnson/orgs","repos_url":"https://api.github.com/users/steven-johnson/repos","events_url":"https://api.github.com/users/steven-johnson/events{/privacy}","received_events_url":"https://api.github.com/users/steven-johnson/received_events","type":"User","site_admin":false},"created_at":"2015-02-21T00:03:28Z","updated_at":"2015-02-21T00:03:28Z","body":"Gentle ping -- is this general approach welcome or should I reconsider?"}}