webkit2gtk 0.7.0

Rust bindings for webkit-gtk library
Documentation
/*
 * TODO: add Cargo categories.
 * TODO: add all unstable methods.
 */

#[macro_use]
extern crate bitflags;
extern crate cairo;
extern crate gdk;
extern crate gdk_sys;
extern crate gio;
extern crate gio_sys;
#[macro_use]
extern crate glib;
extern crate glib_sys;
extern crate gobject_sys;
extern crate gtk;
extern crate gtk_sys;
extern crate javascriptcore as java_script_core;
extern crate libc;

extern crate webkit2gtk_sys as webkit2_sys;

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;
mod script_dialog;
mod web_view;

pub use glib::Error;

pub use auto::*;
pub use script_dialog::*;
pub use web_view::*;