| 1 | #![allow (non_upper_case_globals)] |
| 2 | #![allow (non_camel_case_types)] |
| 3 | #![allow (non_snake_case)] |
| 4 | #![allow (clippy::all)] |
| 5 | // <https://github.com/rust-lang/rust-bindgen/issues/1651> |
| 6 | #![allow (unknown_lints)] |
| 7 | #![allow (deref_nullptr)] |
| 8 | // GrVkBackendContext contains u128 fields on macOS |
| 9 | #![allow (improper_ctypes)] |
| 10 | #![allow (dead_code)] |
| 11 | |
| 12 | // The following type aliases are needed because of name mangling changes introduced with clang 18, |
| 13 | // (this works together with `ITEM_RENAMES` in `skia_bindgen.rs`) |
| 14 | type std___1_string_view = std_string_view; |
| 15 | type std___2_string_view = std_string_view; |
| 16 | type std___1_string = std_string; |
| 17 | type std___2_string = std_string; |
| 18 | |
| 19 | include!(concat!(env!("OUT_DIR" ) , "/skia/bindings.rs" )); |
| 20 | |
| 21 | mod defaults; |
| 22 | #[allow (unused_imports)] |
| 23 | pub use defaults::*; |
| 24 | |
| 25 | mod impls; |
| 26 | |
| 27 | #[cfg (feature = "textlayout" )] |
| 28 | pub mod icu; |
| 29 | |
| 30 | #[allow (unused_imports)] |
| 31 | #[doc (hidden)] |
| 32 | #[cfg (feature = "use-system-jpeg-turbo" )] |
| 33 | use mozjpeg_sys; |
| 34 | |