{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/2467","labels_url":"https://api.github.com/repos/haskell/cabal/issues/2467/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/2467/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/2467/events","html_url":"https://github.com/haskell/cabal/pull/2467","id":61261178,"number":2467,"title":"Allow preprocessors to specify extra C sources","user":{"login":"ian-ross","id":1113720,"avatar_url":"https://avatars.githubusercontent.com/u/1113720?v=3","gravatar_id":"","url":"https://api.github.com/users/ian-ross","html_url":"https://github.com/ian-ross","followers_url":"https://api.github.com/users/ian-ross/followers","following_url":"https://api.github.com/users/ian-ross/following{/other_user}","gists_url":"https://api.github.com/users/ian-ross/gists{/gist_id}","starred_url":"https://api.github.com/users/ian-ross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ian-ross/subscriptions","organizations_url":"https://api.github.com/users/ian-ross/orgs","repos_url":"https://api.github.com/users/ian-ross/repos","events_url":"https://api.github.com/users/ian-ross/events{/privacy}","received_events_url":"https://api.github.com/users/ian-ross/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-03-13T21:45:18Z","updated_at":"2015-03-16T16:45:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/haskell/cabal/pulls/2467","html_url":"https://github.com/haskell/cabal/pull/2467","diff_url":"https://github.com/haskell/cabal/pull/2467.diff","patch_url":"https://github.com/haskell/cabal/pull/2467.patch"},"body":"Alter return type from preprocessing to allow preprocessors like hsc2hs and C2HS to inform Cabal of extra C sources that they create that need to be compiled and linked.  I believe this fixes #238 as well as providing equivalent support for a related feature in new versions of C2HS where the preprocessor generates some C wrapper functions to help with argument marshalling."},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/81790642","html_url":"https://github.com/haskell/cabal/pull/2467#issuecomment-81790642","issue_url":"https://api.github.com/repos/haskell/cabal/issues/2467","id":81790642,"user":{"login":"23Skidoo","id":47439,"avatar_url":"https://avatars.githubusercontent.com/u/47439?v=3","gravatar_id":"","url":"https://api.github.com/users/23Skidoo","html_url":"https://github.com/23Skidoo","followers_url":"https://api.github.com/users/23Skidoo/followers","following_url":"https://api.github.com/users/23Skidoo/following{/other_user}","gists_url":"https://api.github.com/users/23Skidoo/gists{/gist_id}","starred_url":"https://api.github.com/users/23Skidoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/23Skidoo/subscriptions","organizations_url":"https://api.github.com/users/23Skidoo/orgs","repos_url":"https://api.github.com/users/23Skidoo/repos","events_url":"https://api.github.com/users/23Skidoo/events{/privacy}","received_events_url":"https://api.github.com/users/23Skidoo/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T16:45:16Z","updated_at":"2015-03-16T16:45:16Z","body":"Cool, thank you for being so thorough."}}