{"action":"created","issue":{"url":"https://api.github.com/repos/HerculesWS/Hercules/issues/300","labels_url":"https://api.github.com/repos/HerculesWS/Hercules/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/HerculesWS/Hercules/issues/300/comments","events_url":"https://api.github.com/repos/HerculesWS/Hercules/issues/300/events","html_url":"https://github.com/HerculesWS/Hercules/pull/300","id":36217710,"number":300,"title":"Usage of __func__ for some ShowMsg.","user":{"login":"MrKeiKun","id":4362134,"avatar_url":"https://avatars.githubusercontent.com/u/4362134?v=3","gravatar_id":"","url":"https://api.github.com/users/MrKeiKun","html_url":"https://github.com/MrKeiKun","followers_url":"https://api.github.com/users/MrKeiKun/followers","following_url":"https://api.github.com/users/MrKeiKun/following{/other_user}","gists_url":"https://api.github.com/users/MrKeiKun/gists{/gist_id}","starred_url":"https://api.github.com/users/MrKeiKun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrKeiKun/subscriptions","organizations_url":"https://api.github.com/users/MrKeiKun/orgs","repos_url":"https://api.github.com/users/MrKeiKun/repos","events_url":"https://api.github.com/users/MrKeiKun/events{/privacy}","received_events_url":"https://api.github.com/users/MrKeiKun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2014-06-21T06:04:18Z","updated_at":"2015-01-19T03:40:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/HerculesWS/Hercules/pulls/300","html_url":"https://github.com/HerculesWS/Hercules/pull/300","diff_url":"https://github.com/HerculesWS/Hercules/pull/300.diff","patch_url":"https://github.com/HerculesWS/Hercules/pull/300.patch"},"body":"**Information:**\r\n`__func__` or `__FUNCTION__` returns the function name.\r\n\r\nSource: http://gcc.gnu.org/onlinedocs/gcc/Function-Names.html\r\n\r\n**Status**: Done\r\n\r\n- [x] src/char\r\n- [x] src/common\r\n- [x] src/login\r\n- [x] src/map\r\n- [x] src/plugins\r\n\r\n**Example:**\r\n```c\r\n#include <stdio.h>\r\n\r\nvoid potte();\r\n\r\nint main(void)\r\n{\r\n    potte();\r\n\tprintf(\"%s\\n\",__func__);\r\n\treturn 0;\r\n}\r\n\r\nvoid potte()\r\n{\r\n\tprintf(\"%s\\n\",__func__);\r\n}\r\n```\r\n\r\n**Output:**\r\n```\r\npotte\r\nmain\r\n```"},"comment":{"url":"https://api.github.com/repos/HerculesWS/Hercules/issues/comments/70442994","html_url":"https://github.com/HerculesWS/Hercules/pull/300#issuecomment-70442994","issue_url":"https://api.github.com/repos/HerculesWS/Hercules/issues/300","id":70442994,"user":{"login":"MrKeiKun","id":4362134,"avatar_url":"https://avatars.githubusercontent.com/u/4362134?v=3","gravatar_id":"","url":"https://api.github.com/users/MrKeiKun","html_url":"https://github.com/MrKeiKun","followers_url":"https://api.github.com/users/MrKeiKun/followers","following_url":"https://api.github.com/users/MrKeiKun/following{/other_user}","gists_url":"https://api.github.com/users/MrKeiKun/gists{/gist_id}","starred_url":"https://api.github.com/users/MrKeiKun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrKeiKun/subscriptions","organizations_url":"https://api.github.com/users/MrKeiKun/orgs","repos_url":"https://api.github.com/users/MrKeiKun/repos","events_url":"https://api.github.com/users/MrKeiKun/events{/privacy}","received_events_url":"https://api.github.com/users/MrKeiKun/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T03:40:08Z","updated_at":"2015-01-19T03:40:08Z","body":"I'll rebase this as soon as I finish this busy semester :3"}}