{"action":"created","issue":{"url":"https://api.github.com/repos/UAVCAN/libcanard/issues/62","repository_url":"https://api.github.com/repos/UAVCAN/libcanard","labels_url":"https://api.github.com/repos/UAVCAN/libcanard/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/UAVCAN/libcanard/issues/62/comments","events_url":"https://api.github.com/repos/UAVCAN/libcanard/issues/62/events","html_url":"https://github.com/UAVCAN/libcanard/issues/62","id":371663621,"node_id":"MDU6SXNzdWUzNzE2NjM2MjE=","number":62,"title":"Inconsistency between design documentation and generated C definition for dynamic arrays","user":{"login":"aasmune","id":17825688,"node_id":"MDQ6VXNlcjE3ODI1Njg4","avatar_url":"https://avatars0.githubusercontent.com/u/17825688?v=4","gravatar_id":"","url":"https://api.github.com/users/aasmune","html_url":"https://github.com/aasmune","followers_url":"https://api.github.com/users/aasmune/followers","following_url":"https://api.github.com/users/aasmune/following{/other_user}","gists_url":"https://api.github.com/users/aasmune/gists{/gist_id}","starred_url":"https://api.github.com/users/aasmune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aasmune/subscriptions","organizations_url":"https://api.github.com/users/aasmune/orgs","repos_url":"https://api.github.com/users/aasmune/repos","events_url":"https://api.github.com/users/aasmune/events{/privacy}","received_events_url":"https://api.github.com/users/aasmune/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-18T18:52:00Z","updated_at":"2018-10-18T18:54:23Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Reading through the [design documentation](https://github.com/UAVCAN/libcanard/blob/master/DESIGN.md#code-generation)  of Libcanard, I see that the corresponding C definition of a dynamic array should be an array with the maximum number of elements which is allowed in the dynamic array. E.g `Foo[<5] bars` in DSDL should become `Foo bars[4];` in C. \r\n\r\nAs of now, dynamic arrays are created as pointers, not as arrays. Is this the desired behavior, or should the pointers be replaced with the definition stated in the design documentation?\r\n"},"comment":{"url":"https://api.github.com/repos/UAVCAN/libcanard/issues/comments/431122283","html_url":"https://github.com/UAVCAN/libcanard/issues/62#issuecomment-431122283","issue_url":"https://api.github.com/repos/UAVCAN/libcanard/issues/62","id":431122283,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTEyMjI4Mw==","user":{"login":"pavel-kirienko","id":3298404,"node_id":"MDQ6VXNlcjMyOTg0MDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3298404?v=4","gravatar_id":"","url":"https://api.github.com/users/pavel-kirienko","html_url":"https://github.com/pavel-kirienko","followers_url":"https://api.github.com/users/pavel-kirienko/followers","following_url":"https://api.github.com/users/pavel-kirienko/following{/other_user}","gists_url":"https://api.github.com/users/pavel-kirienko/gists{/gist_id}","starred_url":"https://api.github.com/users/pavel-kirienko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavel-kirienko/subscriptions","organizations_url":"https://api.github.com/users/pavel-kirienko/orgs","repos_url":"https://api.github.com/users/pavel-kirienko/repos","events_url":"https://api.github.com/users/pavel-kirienko/events{/privacy}","received_events_url":"https://api.github.com/users/pavel-kirienko/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T18:54:23Z","updated_at":"2018-10-18T18:54:23Z","author_association":"MEMBER","body":"I don't have any objections against this deviation. As to the motivation, we should ask @storola."}}
{"actor":{"display_login":"pavel-kirienko"}}