Crates.io | demes-forward-capi |
lib.rs | demes-forward-capi |
version | 0.5.0 |
source | src |
created_at | 2022-08-05 15:46:19.548883 |
updated_at | 2024-04-16 16:20:14.464913 |
description | C API to demes-forward crate |
homepage | https://github.com/molpopgen/demes-rs |
repository | https://github.com/molpopgen/demes-rs |
max_upload_size | |
id | 639447 |
size | 260,021 |
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:
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
cmake
.See c_examples/
in the repository.
See here