core_unix
core_unix copied to clipboard
Constify C constructors and flags tables
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 https://github.com/ocaml/ocaml/pull/12223, https://github.com/ocaml/ocaml/pull/12951.