Skip to content

Constify C constructors and flags tables - #1007

Merged
smorimoto merged 4 commits into
ocsigen:masterfrom
MisterDA:const
May 2, 2024
Merged

smorimoto merged 4 commits into
ocsigen:masterfrom
MisterDA:const

Conversation

@MisterDA

@MisterDA MisterDA commented Feb 2, 2024

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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.

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