{"action":"created","issue":{"url":"https://api.github.com/repos/pasdoc/pasdoc/issues/10","repository_url":"https://api.github.com/repos/pasdoc/pasdoc","labels_url":"https://api.github.com/repos/pasdoc/pasdoc/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/pasdoc/pasdoc/issues/10/comments","events_url":"https://api.github.com/repos/pasdoc/pasdoc/issues/10/events","html_url":"https://github.com/pasdoc/pasdoc/issues/10","id":298105908,"number":10,"title":"[FEATURE REQUEST] Multiple returns","user":{"login":"silvioprog","id":1456829,"avatar_url":"https://avatars0.githubusercontent.com/u/1456829?v=4","gravatar_id":"","url":"https://api.github.com/users/silvioprog","html_url":"https://github.com/silvioprog","followers_url":"https://api.github.com/users/silvioprog/followers","following_url":"https://api.github.com/users/silvioprog/following{/other_user}","gists_url":"https://api.github.com/users/silvioprog/gists{/gist_id}","starred_url":"https://api.github.com/users/silvioprog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvioprog/subscriptions","organizations_url":"https://api.github.com/users/silvioprog/orgs","repos_url":"https://api.github.com/users/silvioprog/repos","events_url":"https://api.github.com/users/silvioprog/events{/privacy}","received_events_url":"https://api.github.com/users/silvioprog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-18T18:24:19Z","updated_at":"2018-02-19T15:51:28Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Wow, sorry for multiple feature requesting! :sweat_smile:\r\n\r\nSo, I'm trying to add the `returns` command multiple times in same function, for example:\r\n\r\n```pascal\r\n{\r\n  Allocates a new memory space and zero-initialize it.\r\n  @param ASize[in] Memory size to be allocated.\r\n  @return Pointer of the allocated zero-initialized memory.\r\n  @return @code(NULL) When size is @code(0) or no memory space.\r\n}\r\nfunction BrookAlloc(ASize: NativeUInt): Pointer;\r\n```\r\n\r\nbut it is not supported. However, what do you think about to support the `retval` command? It would generate something like this:\r\n\r\n![image](https://user-images.githubusercontent.com/1456829/36355276-8bb0a9fc-14bf-11e8-824e-44bd36dd8053.png)\r\n\r\nIt is another Doxygen feature that IMHO would be nice to implement in PasDoc since Pascal programming also allows multiple return values in same function:\r\n\r\n![image](https://user-images.githubusercontent.com/1456829/36355290-ad4d6082-14bf-11e8-8a29-f091306a8ea7.png)\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/pasdoc/pasdoc/issues/comments/366732307","html_url":"https://github.com/pasdoc/pasdoc/issues/10#issuecomment-366732307","issue_url":"https://api.github.com/repos/pasdoc/pasdoc/issues/10","id":366732307,"user":{"login":"silvioprog","id":1456829,"avatar_url":"https://avatars0.githubusercontent.com/u/1456829?v=4","gravatar_id":"","url":"https://api.github.com/users/silvioprog","html_url":"https://github.com/silvioprog","followers_url":"https://api.github.com/users/silvioprog/followers","following_url":"https://api.github.com/users/silvioprog/following{/other_user}","gists_url":"https://api.github.com/users/silvioprog/gists{/gist_id}","starred_url":"https://api.github.com/users/silvioprog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvioprog/subscriptions","organizations_url":"https://api.github.com/users/silvioprog/orgs","repos_url":"https://api.github.com/users/silvioprog/repos","events_url":"https://api.github.com/users/silvioprog/events{/privacy}","received_events_url":"https://api.github.com/users/silvioprog/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T15:51:28Z","updated_at":"2018-02-19T15:51:28Z","author_association":"CONTRIBUTOR","body":"Perfect! I'm going to test it tonight and reply the other FRs. :smiley: "}}
{"actor":{"display_login":"silvioprog"}}