b5b6619118
Adopt cbindgen in the build script to keep the C header aligned with the Rust FFI definitions. Store the patient handle as a void pointer to avoid layout mismatches and refresh the generated header and repository guidelines.
15 lines
317 B
TOML
15 lines
317 B
TOML
language = "C"
|
|
include_guard = "MEDICALLIB_RUST_MEDICALLIB_H"
|
|
pragma_once = true
|
|
cpp_compat = true
|
|
usize_is_size_t = true
|
|
line_length = 100
|
|
tab_width = 4
|
|
autogen_warning = "/* This file is generated by cbindgen. Do not edit manually. */"
|
|
documentation = true
|
|
|
|
[parse]
|
|
expand = ["ffi"]
|
|
parse_deps = false
|
|
clean = true
|