~jplatte/gtk-layer-shell-rs

ref: fa3584774c16bab7d7de4c145dd38dd6f524ef8a gtk-layer-shell-rs/src/lib.rs -rw-r--r-- 466 bytes
fa358477 — Jonas Platte Remove pointless extern crate declarations 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
macro_rules! assert_initialized_main_thread {
    () => {
        if !::gtk::is_initialized_main_thread() {
            if ::gtk::is_initialized() {
                panic!("GTK may only be used from the main thread.");
            } else {
                panic!("GTK has not been initialized. Call `gtk::init` first.");
            }
        }
    };
}

macro_rules! skip_assert_initialized {
    () => {};
}

mod auto;
pub use auto::functions::*;
pub use auto::*;