2021-03-29 15:59:14 +08:00
|
|
|
#[cfg(quartz)]
|
|
|
|
extern crate block;
|
|
|
|
#[macro_use]
|
|
|
|
extern crate cfg_if;
|
2023-02-19 10:19:28 +08:00
|
|
|
pub use hbb_common::libc;
|
2021-03-29 15:59:14 +08:00
|
|
|
#[cfg(dxgi)]
|
|
|
|
extern crate winapi;
|
|
|
|
|
|
|
|
pub use common::*;
|
|
|
|
|
|
|
|
#[cfg(quartz)]
|
|
|
|
pub mod quartz;
|
|
|
|
|
|
|
|
#[cfg(x11)]
|
|
|
|
pub mod x11;
|
|
|
|
|
2022-06-01 17:52:21 +08:00
|
|
|
#[cfg(all(x11, feature = "wayland"))]
|
2021-07-23 17:52:38 +08:00
|
|
|
pub mod wayland;
|
|
|
|
|
2021-03-29 15:59:14 +08:00
|
|
|
#[cfg(dxgi)]
|
|
|
|
pub mod dxgi;
|
|
|
|
|
2022-06-01 17:52:21 +08:00
|
|
|
#[cfg(target_os = "android")]
|
2022-05-12 17:35:25 +08:00
|
|
|
pub mod android;
|
|
|
|
|
2021-03-29 15:59:14 +08:00
|
|
|
mod common;
|