gdk4_macos/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Take a look at the license at the top of the repository in the LICENSE file.

#![doc = include_str!("../README.md")]
#![allow(deprecated)]
#![cfg_attr(docsrs, feature(doc_cfg))]

#[cfg(not(feature = "cocoa"))]
use std::ffi::c_void;

pub use gdk;
pub use gdk4_macos_sys as ffi;
pub use gio;
pub use glib;
#[macro_use]
mod rt;

mod auto;

pub mod prelude;

pub use auto::*;

mod macos_surface;

#[cfg(not(feature = "cocoa"))]
#[allow(non_camel_case_types)]
pub type id = *mut c_void;

#[cfg(feature = "cocoa")]
pub use cocoa::base::id;