{"action":"created","issue":{"url":"https://api.github.com/repos/J2Kbr/GtunerIV/issues/81","repository_url":"https://api.github.com/repos/J2Kbr/GtunerIV","labels_url":"https://api.github.com/repos/J2Kbr/GtunerIV/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/J2Kbr/GtunerIV/issues/81/comments","events_url":"https://api.github.com/repos/J2Kbr/GtunerIV/issues/81/events","html_url":"https://github.com/J2Kbr/GtunerIV/issues/81","id":189449522,"number":81,"title":"function declaration argument order with pointers","user":{"login":"Scachi","id":22262242,"avatar_url":"https://avatars.githubusercontent.com/u/22262242?v=3","gravatar_id":"","url":"https://api.github.com/users/Scachi","html_url":"https://github.com/Scachi","followers_url":"https://api.github.com/users/Scachi/followers","following_url":"https://api.github.com/users/Scachi/following{/other_user}","gists_url":"https://api.github.com/users/Scachi/gists{/gist_id}","starred_url":"https://api.github.com/users/Scachi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scachi/subscriptions","organizations_url":"https://api.github.com/users/Scachi/orgs","repos_url":"https://api.github.com/users/Scachi/repos","events_url":"https://api.github.com/users/Scachi/events{/privacy}","received_events_url":"https://api.github.com/users/Scachi/received_events","type":"User","site_admin":false},"labels":[{"id":442143133,"url":"https://api.github.com/repos/J2Kbr/GtunerIV/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-15T17:04:24Z","updated_at":"2016-11-15T20:20:05Z","closed_at":"2016-11-15T20:20:05Z","body":"Hi,\r\n\r\nI get a GPC compile error when I try to declare the function with the arguments in this order:\r\nvoid ButtonSave(uint8 *src, uint8 ps)\r\nError: GPC error: Magicka2_Scachi.gpc(1473): Variable declaration syntax error 'ps'.\r\n\r\nbut this works:\r\nvoid ButtonSave(uint8 ps, uint8 *src)\r\n\r\nShouldn't both compile correctly ?\r\n\r\n[Forum post](http://www.consoletuner.com/forum/viewtopic.php?f=26&t=5205)"},"comment":{"url":"https://api.github.com/repos/J2Kbr/GtunerIV/issues/comments/260755724","html_url":"https://github.com/J2Kbr/GtunerIV/issues/81#issuecomment-260755724","issue_url":"https://api.github.com/repos/J2Kbr/GtunerIV/issues/81","id":260755724,"user":{"login":"J2Kbr","id":21229433,"avatar_url":"https://avatars.githubusercontent.com/u/21229433?v=3","gravatar_id":"","url":"https://api.github.com/users/J2Kbr","html_url":"https://github.com/J2Kbr","followers_url":"https://api.github.com/users/J2Kbr/followers","following_url":"https://api.github.com/users/J2Kbr/following{/other_user}","gists_url":"https://api.github.com/users/J2Kbr/gists{/gist_id}","starred_url":"https://api.github.com/users/J2Kbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J2Kbr/subscriptions","organizations_url":"https://api.github.com/users/J2Kbr/orgs","repos_url":"https://api.github.com/users/J2Kbr/repos","events_url":"https://api.github.com/users/J2Kbr/events{/privacy}","received_events_url":"https://api.github.com/users/J2Kbr/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T20:20:05Z","updated_at":"2016-11-15T20:20:05Z","body":"Correct, coincidentally this is a bug I just fixed (yesterday), for Gtuner 0.95B.\r\nI noticed that when making examples for the GPC script language reference [here](http://www.consoletuner.com/wiki/index.php?id=t2:gpc_language_reference). :)"}}
{"actor":{"display_login":"J2Kbr"}}