9 releases
| new 0.1.8 | Dec 15, 2025 |
|---|---|
| 0.1.7 | Jun 27, 2025 |
| 0.1.5 | Feb 8, 2025 |
| 0.1.4 | Jan 11, 2025 |
#9 in #open-harmony
8,484 downloads per month
Used in 13 crates
5KB
150 lines
A library for common OpenHarmony opaque types that are used in multiple components.
ohos-sys-opaque-types
This is an internal helper library for the ohos-sys crates, which defines opaque types,
which are used across multiple components of the ohos-sys crates.
In C/C++ these types are forward declared in multiple different headers, but doing the same
in Rust would lead to multiple incompatible types.
To avoid such needless pointer casts, we use this library as a common source for the opaque types,
to get interoperability across the different ohos-sys crates.
License
These bindings are licensed under the Apache 2.0 license, matching the license of corresponding C/C++ header files.