462 B
462 B
Installation and Usage (C/C++)
- Build the cdylib:
cargo build --features ffi --release- Outputs under
target/release/(.so/.dll/.dylib)
- Include header
ffi/medicallib.hin your C/C++ project. - Link your app against the produced library.
- See
examples/c/ffi_example.cfor usage.
Notes:
- Free all strings returned by the library with
ml_string_free. - Use the organ type codes (ML_ORGAN_*) to query specific organ summaries.