demes-forward-capi 0.1.0

C API to demes-forward crate
Documentation

demes-forward-capi

This crate provides a C interface to demes-forward.

In general, you should prefer the other crate unless you are working in C/C++.

This crate generates:

  1. A header file
  2. A static C library
  3. A dynamic C library

Requirements

cbindgen generates the header file. We do not use a build script. Rather, we use cbindgen from the command line.

To install:

cargo install cbindgen

Integration with cmake.

See c_examples/ in the repository.