C ABI (libbezier)

The core computational routines used by bezier are implemented in Fortran. The subroutines provided there are available in a C ABI libbezier. They can be called from Fortran, C, C++, Cython and any other language that can invoke a foreign C function (e.g. Go via cgo).

The modules below correspond to the Fortran modules used to structure the library. The corresponding header files for the ABI match this module structure.


Currently (as of January 11, 2020) there is no direct support for building libbezier or for installing the header files.

However, the Binary Extension document explains how to locate a built libbezier static library and the C headers once the bezier Python package has been installed.