1#![cfg_attr(docsrs, feature(doc_cfg))]
2
3pub use ffi;
5pub use gio;
6pub use glib;
7pub use gtk;
8
9macro_rules! assert_initialized_main_thread {
11 () => {
12 if !::gtk::is_initialized_main_thread() {
13 if ::gtk::is_initialized() {
14 panic!("libspelling may only be used from the main thread.");
15 } else {
16 panic!("Gtk has to be initialized before using libspelling.");
17 }
18 }
19 };
20}
21
22macro_rules! skip_assert_initialized {
23 () => {};
24}
25
26#[allow(unused_imports)]
27#[allow(clippy::let_and_return)]
28#[allow(clippy::type_complexity)]
29mod auto;
30
31pub use auto::*;
32pub use functions::*;
33
34pub mod builders;
35pub mod prelude;
36
37mod checker;