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.

Installation

Currently (as of October 19, 2018) 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.