ohos-sys 0.8.6

Bindings to the native API of OpenHarmony OS
Documentation
// automatically generated by rust-bindgen 0.71.1

#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]

extern "C" {
    /// Queries whether a device supports a specified SystemCapability.
    /// # Arguments
    ///
    /// * `cap` - SystemCapability whether supported
    ///
    /// # Returns
    ///
    /// * true - Supports the specified SystemCapability.
    /// false - The specified SystemCapability is not supported.
    ///
    /// Available since API-level: 8
    pub fn canIUse(cap: *const ::core::ffi::c_char) -> bool;
}