I’m happy to announce a new release of ctypes, 0.12.0, available for installation via OPAM.
Ctypes 0.12.0 contains a number of changes, some of which introduce small incompatibilities with previous releases:
-
Support for Fortran-layout bigarrays, recently discussed here:
Interfacing Fortran with OCaml (reddit discussion)
some love for FORTRAN
The design is described in PR 523 -
Use the ‘integers’ package to provide signed and unsigned types (issue 446, PR 515)
In both cases the types have changed slightly, but the behaviour is unchanged, so code that continues to build with the new release should be unaffected.
The release notes have further details of the changes in this release and recent point releases.