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

Opaque struct #42

Closed
emgre opened this issue Feb 26, 2021 · 1 comment · Fixed by #44
Closed

Opaque struct #42

emgre opened this issue Feb 26, 2021 · 1 comment · Fixed by #44
Assignees
Labels
enhancement New feature or request schema Issue regarding the schema

Comments

@emgre
Copy link
Contributor

emgre commented Feb 26, 2021

Add a flag in the schema for opaque structs. In C# and Java, it would create a class without a constructor and with private fields. In C, it would add documentation saying that its content is private.

@emgre emgre added enhancement New feature or request schema Issue regarding the schema labels Feb 26, 2021
@emgre emgre self-assigned this Feb 26, 2021
@jadamcrain
Copy link
Member

jadamcrain commented Feb 26, 2021

You also won't generate a _init(...) function in C for opaque structs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request schema Issue regarding the schema
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants