{"action":"created","issue":{"url":"https://api.github.com/repos/cgreen-devs/cgreen/issues/159","repository_url":"https://api.github.com/repos/cgreen-devs/cgreen","labels_url":"https://api.github.com/repos/cgreen-devs/cgreen/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/cgreen-devs/cgreen/issues/159/comments","events_url":"https://api.github.com/repos/cgreen-devs/cgreen/issues/159/events","html_url":"https://github.com/cgreen-devs/cgreen/issues/159","id":288439270,"node_id":"MDU6SXNzdWUyODg0MzkyNzA=","number":159,"title":"`cgreen-mocker` can't mock functions as arguments","user":{"login":"thoni56","id":204496,"node_id":"MDQ6VXNlcjIwNDQ5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/204496?v=4","gravatar_id":"","url":"https://api.github.com/users/thoni56","html_url":"https://github.com/thoni56","followers_url":"https://api.github.com/users/thoni56/followers","following_url":"https://api.github.com/users/thoni56/following{/other_user}","gists_url":"https://api.github.com/users/thoni56/gists{/gist_id}","starred_url":"https://api.github.com/users/thoni56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoni56/subscriptions","organizations_url":"https://api.github.com/users/thoni56/orgs","repos_url":"https://api.github.com/users/thoni56/repos","events_url":"https://api.github.com/users/thoni56/events{/privacy}","received_events_url":"https://api.github.com/users/thoni56/received_events","type":"User","site_admin":false},"labels":[{"id":254861902,"node_id":"MDU6TGFiZWwyNTQ4NjE5MDI=","url":"https://api.github.com/repos/cgreen-devs/cgreen/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-14T21:00:58Z","updated_at":"2018-10-17T20:13:21Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"If you have something like\r\n\r\n    extern void f (void (*p1)(void*),  void *p2);\r\n\r\n`cgreen-mocker` will generate code which doesn't mock correctly:\r\n\r\n    void action(void *p1) { \r\n        mock();\r\n    }\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cgreen-devs/cgreen/issues/comments/430771751","html_url":"https://github.com/cgreen-devs/cgreen/issues/159#issuecomment-430771751","issue_url":"https://api.github.com/repos/cgreen-devs/cgreen/issues/159","id":430771751,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDc3MTc1MQ==","user":{"login":"joaopapereira","id":1826130,"node_id":"MDQ6VXNlcjE4MjYxMzA=","avatar_url":"https://avatars0.githubusercontent.com/u/1826130?v=4","gravatar_id":"","url":"https://api.github.com/users/joaopapereira","html_url":"https://github.com/joaopapereira","followers_url":"https://api.github.com/users/joaopapereira/followers","following_url":"https://api.github.com/users/joaopapereira/following{/other_user}","gists_url":"https://api.github.com/users/joaopapereira/gists{/gist_id}","starred_url":"https://api.github.com/users/joaopapereira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaopapereira/subscriptions","organizations_url":"https://api.github.com/users/joaopapereira/orgs","repos_url":"https://api.github.com/users/joaopapereira/repos","events_url":"https://api.github.com/users/joaopapereira/events{/privacy}","received_events_url":"https://api.github.com/users/joaopapereira/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T20:13:21Z","updated_at":"2018-10-17T20:13:21Z","author_association":"NONE","body":"The current output is:\r\n```\r\nvoid f(void (*p1)(void *), void *p2) { \r\n  mock(p1, p2);\r\n}\r\n```\r\n\r\nand it looks correct."}}
{"actor":{"display_login":"joaopapereira"}}