webkit2gtk 2.0.2

Rust bindings for webkit-gtk library
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Take a look at the license at the top of the repository in the LICENSE file.

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 {
  () => {};
}