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

Constify C constructors and flags tables #1007

Merged
merged 4 commits into from
May 2, 2024
Merged

Conversation

MisterDA
Copy link
Contributor

@MisterDA MisterDA commented Feb 2, 2024

There's little value to this considering the constructors tables are static, used very locally, but this serves nonetheless as an indication to the programmer that the tables are not to be modified. Now these tables will go in the readonly segment, where they belong.

Cf ocaml/ocaml#12223, ocaml/ocaml#12951.

@raphael-proust
Copy link
Collaborator

Had a chance to have more of a look. This looks good to me. Also thanks @smorimoto for the review and the updates. I think this is mergeable.

@smorimoto smorimoto merged commit 8292e3d into ocsigen:master May 2, 2024
25 of 26 checks passed
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.

3 participants