gdk4_macos/lib.rs
1// Take a look at the license at the top of the repository in the LICENSE file.
2
3#![doc = include_str!("../README.md")]
4#![allow(deprecated)]
5#![cfg_attr(docsrs, feature(doc_cfg))]
6
7#[cfg(not(feature = "cocoa"))]
8use std::ffi::c_void;
9
10pub use gdk;
11pub use gdk4_macos_sys as ffi;
12pub use gio;
13pub use glib;
14#[macro_use]
15mod rt;
16
17#[allow(clippy::let_and_return)]
18mod auto;
19
20pub mod prelude;
21
22pub use auto::*;
23
24mod macos_surface;
25
26#[cfg(not(feature = "cocoa"))]
27#[allow(non_camel_case_types)]
28pub type id = *mut c_void;
29
30#[cfg(feature = "cocoa")]
31pub use cocoa::base::id;