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::*;