intel / openvino-rs

Rust bindings for OpenVINO™
Apache License 2.0
82 stars 23 forks source link

Only export the inference engine functions in openvino-sys #17

Closed abrown closed 3 years ago

abrown commented 3 years ago

Previously, many libc types and functions were exported by openvino-sys (and visible in docs.rs). This change tightens up rust-bindgen to only emit the ie_* functions (and their recursively-used types, a default setting). It also eliminates some __uint8_t and __int64_t as well as properly transforming size_t to usize.