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
17mod auto;
18
19pub mod prelude;
20
21pub use auto::*;
22
23mod macos_surface;
24
25#[cfg(not(feature = "cocoa"))]
26#[allow(non_camel_case_types)]
27pub type id = *mut c_void;
28
29#[cfg(feature = "cocoa")]
30pub use cocoa::base::id;