cavalier_contours_ffi

Crates.iocavalier_contours_ffi
lib.rscavalier_contours_ffi
version0.6.0
created_at2021-03-11 08:24:19.255972+00
updated_at2025-07-09 02:07:21.618848+00
descriptionC foreign function interface for the cavalier_contours crate
homepagehttps://wwww.cavaliercontours.dev
repositoryhttps://github.com/jbuckmccready/cavalier_contours
max_upload_size
id367181
size124,702
Buck (jbuckmccready)

documentation

README

Summary

C foreign function interface (FFI) for the Cavalier Contours library.

Usage

[!NOTE] Run all these commands from the root of the cavalier contours repository/workspace.

You can generate a C header file using cbindgen with the following command:

cbindgen --crate cavalier_contours_ffi --output cavalier_contours.h

The .so library file (.dylib on macOS, .dll on Windows) is built just by building the crate from cargo:

cargo build -p cavalier_contours_ffi --release

The resulting shared library file will be located in /target/release, the file name will be libcavalier_contours_ffi.so on Linux, cavalier_contours_ffi.dll on Windows, and something similar on macOS (ending in .dylib).

License

Licensed under either of

at your option.

Commit count: 212

cargo fmt