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

added freeze function to StructDefinition #3200

Merged
merged 1 commit into from
May 4, 2022

Conversation

JasonRuonanWang
Copy link
Member

Since multiple struct variables can use one struct definition, there needs a freeze feature to finalize a struct definition, so that it ensures the struct definition is not changed in between defining different variables.

This function can be called from the user code. Even if users don't call it, it will still automatically freeze when the first variable is being created using a struct definition.

@JasonRuonanWang JasonRuonanWang merged commit ad39c37 into ornladios:master May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant