Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support raw C-style array type in spec-generator #869

Closed
veselypeta opened this issue Sep 18, 2023 · 1 comment · Fixed by #870
Closed

Support raw C-style array type in spec-generator #869

veselypeta opened this issue Sep 18, 2023 · 1 comment · Fixed by #870
Labels
specification Changes or additions to the specification

Comments

@veselypeta
Copy link
Contributor

Currently the following syntax will fail to generate the spec if a c-style raw array is used in a struct type definition
i.e.

type: size_t
name: my_array[3]
desc: [in] C-Style array
@veselypeta veselypeta added the specification Changes or additions to the specification label Sep 18, 2023
@kbenzie
Copy link
Contributor

kbenzie commented Sep 18, 2023

I don't think the array specifier should be part of the name but rather the type:

type: size_t[3]
name: my_array
desc: [in] C-Style array

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
specification Changes or additions to the specification
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants