{"action":"created","issue":{"url":"https://api.github.com/repos/michaeljones/breathe/issues/233","repository_url":"https://api.github.com/repos/michaeljones/breathe","labels_url":"https://api.github.com/repos/michaeljones/breathe/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/michaeljones/breathe/issues/233/comments","events_url":"https://api.github.com/repos/michaeljones/breathe/issues/233/events","html_url":"https://github.com/michaeljones/breathe/issues/233","id":123376987,"node_id":"MDU6SXNzdWUxMjMzNzY5ODc=","number":233,"title":"Bad rendering of macro functions without arguments","user":{"login":"serge-sans-paille","id":863807,"node_id":"MDQ6VXNlcjg2MzgwNw==","avatar_url":"https://avatars1.githubusercontent.com/u/863807?v=4","gravatar_id":"","url":"https://api.github.com/users/serge-sans-paille","html_url":"https://github.com/serge-sans-paille","followers_url":"https://api.github.com/users/serge-sans-paille/followers","following_url":"https://api.github.com/users/serge-sans-paille/following{/other_user}","gists_url":"https://api.github.com/users/serge-sans-paille/gists{/gist_id}","starred_url":"https://api.github.com/users/serge-sans-paille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serge-sans-paille/subscriptions","organizations_url":"https://api.github.com/users/serge-sans-paille/orgs","repos_url":"https://api.github.com/users/serge-sans-paille/repos","events_url":"https://api.github.com/users/serge-sans-paille/events{/privacy}","received_events_url":"https://api.github.com/users/serge-sans-paille/received_events","type":"User","site_admin":false},"labels":[{"id":940129599,"node_id":"MDU6TGFiZWw5NDAxMjk1OTk=","url":"https://api.github.com/repos/michaeljones/breathe/labels/upstream","name":"upstream","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"melvinvermeeren","id":5957454,"node_id":"MDQ6VXNlcjU5NTc0NTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5957454?v=4","gravatar_id":"","url":"https://api.github.com/users/melvinvermeeren","html_url":"https://github.com/melvinvermeeren","followers_url":"https://api.github.com/users/melvinvermeeren/followers","following_url":"https://api.github.com/users/melvinvermeeren/following{/other_user}","gists_url":"https://api.github.com/users/melvinvermeeren/gists{/gist_id}","starred_url":"https://api.github.com/users/melvinvermeeren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melvinvermeeren/subscriptions","organizations_url":"https://api.github.com/users/melvinvermeeren/orgs","repos_url":"https://api.github.com/users/melvinvermeeren/repos","events_url":"https://api.github.com/users/melvinvermeeren/events{/privacy}","received_events_url":"https://api.github.com/users/melvinvermeeren/received_events","type":"User","site_admin":false},"assignees":[{"login":"melvinvermeeren","id":5957454,"node_id":"MDQ6VXNlcjU5NTc0NTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5957454?v=4","gravatar_id":"","url":"https://api.github.com/users/melvinvermeeren","html_url":"https://github.com/melvinvermeeren","followers_url":"https://api.github.com/users/melvinvermeeren/followers","following_url":"https://api.github.com/users/melvinvermeeren/following{/other_user}","gists_url":"https://api.github.com/users/melvinvermeeren/gists{/gist_id}","starred_url":"https://api.github.com/users/melvinvermeeren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melvinvermeeren/subscriptions","organizations_url":"https://api.github.com/users/melvinvermeeren/orgs","repos_url":"https://api.github.com/users/melvinvermeeren/repos","events_url":"https://api.github.com/users/melvinvermeeren/events{/privacy}","received_events_url":"https://api.github.com/users/melvinvermeeren/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2015-12-21T22:59:12Z","updated_at":"2018-06-09T19:29:39Z","closed_at":null,"author_association":"NONE","body":"a macro function definition like \n\n```\n#define FOO() foo\n```\n\nis rendered without parenthesis, which make it look like a macro variable.\n\nThe following hacky monkey patch fixes the issue for me:\n\n```\n# patch macro rendering by breathe\nimport breathe.renderer.rst.doxygen.compound as compound\ndef patched_update_signature(self, signode):\n    if len(self.data_object.param) == 1 and not self.data_object.param[0].defname:\n        signode.append(self.node_factory.Text('()'))\n\ncompound.DefineMemberDefTypeSubRenderer.update_signature = patched_update_signature\n```\n\nbut there should be a better way :-/\n"},"comment":{"url":"https://api.github.com/repos/michaeljones/breathe/issues/comments/395993066","html_url":"https://github.com/michaeljones/breathe/issues/233#issuecomment-395993066","issue_url":"https://api.github.com/repos/michaeljones/breathe/issues/233","id":395993066,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTk5MzA2Ng==","user":{"login":"melvinvermeeren","id":5957454,"node_id":"MDQ6VXNlcjU5NTc0NTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5957454?v=4","gravatar_id":"","url":"https://api.github.com/users/melvinvermeeren","html_url":"https://github.com/melvinvermeeren","followers_url":"https://api.github.com/users/melvinvermeeren/followers","following_url":"https://api.github.com/users/melvinvermeeren/following{/other_user}","gists_url":"https://api.github.com/users/melvinvermeeren/gists{/gist_id}","starred_url":"https://api.github.com/users/melvinvermeeren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melvinvermeeren/subscriptions","organizations_url":"https://api.github.com/users/melvinvermeeren/orgs","repos_url":"https://api.github.com/users/melvinvermeeren/repos","events_url":"https://api.github.com/users/melvinvermeeren/events{/privacy}","received_events_url":"https://api.github.com/users/melvinvermeeren/received_events","type":"User","site_admin":false},"created_at":"2018-06-09T19:29:39Z","updated_at":"2018-06-09T19:29:39Z","author_association":"COLLABORATOR","body":"Thank you. I'll keep this open until Sphinx 1.7.6 has been released."}}
{"actor":{"display_login":"melvinvermeeren"}}