Skip to content

Regen #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gir
Submodule gir updated 67 files
+253 −69 Cargo.lock
+4 −8 Cargo.toml
+21 −6 README.md
+1 −1 build.rs
+19 −20 src/analysis/bounds.rs
+2 −2 src/analysis/ffi_type.rs
+4 −1 src/analysis/function_parameters.rs
+25 −17 src/analysis/functions.rs
+59 −31 src/analysis/imports.rs
+3 −3 src/analysis/mod.rs
+0 −11 src/analysis/namespaces.rs
+4 −12 src/analysis/object.rs
+1 −1 src/analysis/out_parameters.rs
+7 −5 src/analysis/properties.rs
+6 −6 src/analysis/record.rs
+8 −2 src/analysis/record_type.rs
+10 −11 src/analysis/ref_mode.rs
+11 −7 src/analysis/rust_type.rs
+32 −6 src/analysis/signatures.rs
+30 −8 src/analysis/symbols.rs
+1 −1 src/analysis/trampoline_parameters.rs
+232 −0 src/analysis/types.rs
+2 −3 src/chunk/chunk.rs
+12 −0 src/chunk/parameter_ffi_call_out.rs
+4 −4 src/codegen/doc/format.rs
+46 −13 src/codegen/doc/mod.rs
+35 −34 src/codegen/enums.rs
+23 −28 src/codegen/flags.rs
+6 −1 src/codegen/function.rs
+123 −117 src/codegen/function_body_chunk.rs
+71 −2 src/codegen/general.rs
+1 −0 src/codegen/mod.rs
+4 −1 src/codegen/properties.rs
+1 −3 src/codegen/property_body.rs
+22 −1 src/codegen/record.rs
+9 −1 src/codegen/signal.rs
+139 −0 src/codegen/sys/fields.rs
+12 −18 src/codegen/sys/functions.rs
+130 −346 src/codegen/sys/lib_.rs
+3 −2 src/codegen/sys/mod.rs
+3 −8 src/codegen/sys/statics.rs
+0 −1 src/codegen/trampoline.rs
+1 −0 src/codegen/translate_to_glib.rs
+25 −12 src/config/config.rs
+0 −2 src/config/error.rs
+8 −1 src/config/gobjects.rs
+5 −0 src/config/members.rs
+5 −3 src/config/work_mode.rs
+7 −0 src/env.rs
+59 −18 src/library.rs
+105 −0 src/library_postprocessing.rs
+12 −2 src/main.rs
+4 −0 src/nameutil.rs
+661 −1,211 src/parser.rs
+31 −0 src/update_version.rs
+1 −1 src/writer/defines.rs
+2 −7 src/writer/to_code.rs
+426 −0 src/xmlparser.rs
+2 −2 tests/sys/atk-sys/Cargo.toml
+3 −2 tests/sys/gdk-pixbuf-sys/Cargo.toml
+5 −2 tests/sys/gdk-sys/Cargo.toml
+7 −2 tests/sys/gio-sys/Cargo.toml
+7 −2 tests/sys/glib-sys/Cargo.toml
+4 −2 tests/sys/gobject-sys/Cargo.toml
+6 −2 tests/sys/gtk-sys/Cargo.toml
+4 −2 tests/sys/pango-sys/Cargo.toml
+2 −2 tests/sys/secret-sys/Cargo.toml
2 changes: 1 addition & 1 deletion gir-files
4 changes: 2 additions & 2 deletions src/auto/authentication_request.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (d50d839) from gir-files (469db10)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
// DO NOT EDIT

#[cfg(any(feature = "v2_2", feature = "dox"))]
Expand Down Expand Up @@ -141,7 +142,6 @@ impl<O: IsA<AuthenticationRequest> + IsA<glib::object::Object>> AuthenticationRe
#[cfg(any(feature = "v2_2", feature = "dox"))]
unsafe extern "C" fn cancelled_trampoline<P>(this: *mut ffi::WebKitAuthenticationRequest, f: glib_ffi::gpointer)
where P: IsA<AuthenticationRequest> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&AuthenticationRequest::from_glib_borrow(this).downcast_unchecked())
}
3 changes: 2 additions & 1 deletion src/auto/back_forward_list.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (d50d839) from gir-files (469db10)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
// DO NOT EDIT

use BackForwardListItem;
Expand Down
3 changes: 2 additions & 1 deletion src/auto/back_forward_list_item.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (d50d839) from gir-files (469db10)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
// DO NOT EDIT

use ffi;
Expand Down
8 changes: 3 additions & 5 deletions src/auto/color_chooser_request.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (d50d839) from gir-files (469db10)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
// DO NOT EDIT

use ffi;
Expand Down Expand Up @@ -94,8 +95,7 @@ impl<O: IsA<ColorChooserRequest> + IsA<glib::object::Object>> ColorChooserReques

fn get_property_rgba(&self) -> Option<gdk::RGBA> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <gdk::RGBA as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<gdk::RGBA as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "rgba".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
Expand Down Expand Up @@ -128,14 +128,12 @@ impl<O: IsA<ColorChooserRequest> + IsA<glib::object::Object>> ColorChooserReques
#[cfg(any(feature = "v2_8", feature = "dox"))]
unsafe extern "C" fn finished_trampoline<P>(this: *mut ffi::WebKitColorChooserRequest, f: glib_ffi::gpointer)
where P: IsA<ColorChooserRequest> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&ColorChooserRequest::from_glib_borrow(this).downcast_unchecked())
}

unsafe extern "C" fn notify_rgba_trampoline<P>(this: *mut ffi::WebKitColorChooserRequest, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<ColorChooserRequest> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&ColorChooserRequest::from_glib_borrow(this).downcast_unchecked())
}
3 changes: 2 additions & 1 deletion src/auto/context_menu.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (d50d839) from gir-files (469db10)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
// DO NOT EDIT

use ContextMenuItem;
Expand Down
5 changes: 4 additions & 1 deletion src/auto/context_menu_item.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (d50d839) from gir-files (469db10)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
// DO NOT EDIT

use ContextMenu;
Expand All @@ -20,6 +21,7 @@ glib_wrapper! {
}

impl ContextMenuItem {
//#[cfg_attr(feature = "v2_18", deprecated)]
//pub fn new<P: IsA</*Ignored*/gtk::Action>>(action: &P) -> ContextMenuItem {
// unsafe { TODO: call ffi::webkit_context_menu_item_new() }
//}
Expand Down Expand Up @@ -59,6 +61,7 @@ impl ContextMenuItem {
}

pub trait ContextMenuItemExt {
//#[cfg_attr(feature = "v2_18", deprecated)]
//fn get_action(&self) -> /*Ignored*/Option<gtk::Action>;

//#[cfg(any(feature = "v2_18", feature = "dox"))]
Expand Down
7 changes: 5 additions & 2 deletions src/auto/cookie_manager.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (d50d839) from gir-files (469db10)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
// DO NOT EDIT

use CookieAcceptPolicy;
Expand Down Expand Up @@ -26,12 +27,15 @@ glib_wrapper! {
}

pub trait CookieManagerExt {
#[cfg_attr(feature = "v2_16", deprecated)]
fn delete_all_cookies(&self);

#[cfg_attr(feature = "v2_16", deprecated)]
fn delete_cookies_for_domain(&self, domain: &str);

//fn get_accept_policy<'a, 'b, P: Into<Option<&'a gio::Cancellable>>, Q: Into<Option<&'b /*Ignored*/gio::AsyncReadyCallback>>, R: Into<Option</*Unimplemented*/Fundamental: Pointer>>>(&self, cancellable: P, callback: Q, user_data: R);

//#[cfg_attr(feature = "v2_16", deprecated)]
//fn get_domains_with_cookies<'a, 'b, P: Into<Option<&'a gio::Cancellable>>, Q: Into<Option<&'b /*Ignored*/gio::AsyncReadyCallback>>, R: Into<Option</*Unimplemented*/Fundamental: Pointer>>>(&self, cancellable: P, callback: Q, user_data: R);

fn set_accept_policy(&self, policy: CookieAcceptPolicy);
Expand Down Expand Up @@ -85,7 +89,6 @@ impl<O: IsA<CookieManager> + IsA<glib::object::Object>> CookieManagerExt for O {

unsafe extern "C" fn changed_trampoline<P>(this: *mut ffi::WebKitCookieManager, f: glib_ffi::gpointer)
where P: IsA<CookieManager> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&CookieManager::from_glib_borrow(this).downcast_unchecked())
}
3 changes: 2 additions & 1 deletion src/auto/credential.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (d50d839) from gir-files (469db10)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
// DO NOT EDIT

#[cfg(any(feature = "v2_2", feature = "dox"))]
Expand Down
12 changes: 2 additions & 10 deletions src/auto/download.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (d50d839) from gir-files (469db10)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
// DO NOT EDIT

use Error;
Expand Down Expand Up @@ -218,64 +219,55 @@ impl<O: IsA<Download> + IsA<glib::object::Object>> DownloadExt for O {

unsafe extern "C" fn created_destination_trampoline<P>(this: *mut ffi::WebKitDownload, destination: *mut libc::c_char, f: glib_ffi::gpointer)
where P: IsA<Download> {
callback_guard!();
let f: &&(Fn(&P, &str) + 'static) = transmute(f);
f(&Download::from_glib_borrow(this).downcast_unchecked(), &String::from_glib_none(destination))
}

unsafe extern "C" fn decide_destination_trampoline<P>(this: *mut ffi::WebKitDownload, suggested_filename: *mut libc::c_char, f: glib_ffi::gpointer) -> glib_ffi::gboolean
where P: IsA<Download> {
callback_guard!();
let f: &&(Fn(&P, &str) -> bool + 'static) = transmute(f);
f(&Download::from_glib_borrow(this).downcast_unchecked(), &String::from_glib_none(suggested_filename)).to_glib()
}

unsafe extern "C" fn failed_trampoline<P>(this: *mut ffi::WebKitDownload, error: *mut glib_ffi::GError, f: glib_ffi::gpointer)
where P: IsA<Download> {
callback_guard!();
let f: &&(Fn(&P, &Error) + 'static) = transmute(f);
f(&Download::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(error))
}

unsafe extern "C" fn finished_trampoline<P>(this: *mut ffi::WebKitDownload, f: glib_ffi::gpointer)
where P: IsA<Download> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&Download::from_glib_borrow(this).downcast_unchecked())
}

unsafe extern "C" fn received_data_trampoline<P>(this: *mut ffi::WebKitDownload, data_length: u64, f: glib_ffi::gpointer)
where P: IsA<Download> {
callback_guard!();
let f: &&(Fn(&P, u64) + 'static) = transmute(f);
f(&Download::from_glib_borrow(this).downcast_unchecked(), data_length)
}

#[cfg(any(feature = "v2_6", feature = "dox"))]
unsafe extern "C" fn notify_allow_overwrite_trampoline<P>(this: *mut ffi::WebKitDownload, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<Download> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&Download::from_glib_borrow(this).downcast_unchecked())
}

unsafe extern "C" fn notify_destination_trampoline<P>(this: *mut ffi::WebKitDownload, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<Download> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&Download::from_glib_borrow(this).downcast_unchecked())
}

unsafe extern "C" fn notify_estimated_progress_trampoline<P>(this: *mut ffi::WebKitDownload, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<Download> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&Download::from_glib_borrow(this).downcast_unchecked())
}

unsafe extern "C" fn notify_response_trampoline<P>(this: *mut ffi::WebKitDownload, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<Download> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&Download::from_glib_borrow(this).downcast_unchecked())
}
4 changes: 2 additions & 2 deletions src/auto/editor_state.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (d50d839) from gir-files (469db10)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
// DO NOT EDIT

use ffi;
Expand Down Expand Up @@ -57,7 +58,6 @@ impl<O: IsA<EditorState> + IsA<glib::object::Object>> EditorStateExt for O {
#[cfg(any(feature = "v2_10", feature = "dox"))]
unsafe extern "C" fn notify_typing_attributes_trampoline<P>(this: *mut ffi::WebKitEditorState, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<EditorState> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&EditorState::from_glib_borrow(this).downcast_unchecked())
}
16 changes: 10 additions & 6 deletions src/auto/enums.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
// This file was generated by gir (d50d839) from gir-files (469db10)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
// DO NOT EDIT

use ffi;
use glib_ffi;
use glib::error::ErrorDomain;
use glib::Type;
use glib::StaticType;
use glib::value::{Value, SetValue, FromValue, FromValueOptional};
use gobject_ffi;
use glib::Type;
use glib::error::ErrorDomain;
use glib::translate::*;
use glib::value::FromValue;
use glib::value::FromValueOptional;
use glib::value::SetValue;
use glib::value::Value;
use glib_ffi;
use gobject_ffi;

#[cfg(any(feature = "v2_2", feature = "dox"))]
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
Expand Down
4 changes: 2 additions & 2 deletions src/auto/favicon_database.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (d50d839) from gir-files (469db10)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
// DO NOT EDIT

use ffi;
Expand Down Expand Up @@ -62,7 +63,6 @@ impl<O: IsA<FaviconDatabase> + IsA<glib::object::Object>> FaviconDatabaseExt for

unsafe extern "C" fn favicon_changed_trampoline<P>(this: *mut ffi::WebKitFaviconDatabase, page_uri: *mut libc::c_char, favicon_uri: *mut libc::c_char, f: glib_ffi::gpointer)
where P: IsA<FaviconDatabase> {
callback_guard!();
let f: &&(Fn(&P, &str, &str) + 'static) = transmute(f);
f(&FaviconDatabase::from_glib_borrow(this).downcast_unchecked(), &String::from_glib_none(page_uri), &String::from_glib_none(favicon_uri))
}
10 changes: 3 additions & 7 deletions src/auto/file_chooser_request.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (d50d839) from gir-files (469db10)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
// DO NOT EDIT

use ffi;
Expand Down Expand Up @@ -89,8 +90,7 @@ impl<O: IsA<FileChooserRequest> + IsA<glib::object::Object>> FileChooserRequestE

fn get_property_filter(&self) -> Option<gtk::FileFilter> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <gtk::FileFilter as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<gtk::FileFilter as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "filter".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
Expand Down Expand Up @@ -131,28 +131,24 @@ impl<O: IsA<FileChooserRequest> + IsA<glib::object::Object>> FileChooserRequestE

unsafe extern "C" fn notify_filter_trampoline<P>(this: *mut ffi::WebKitFileChooserRequest, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<FileChooserRequest> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&FileChooserRequest::from_glib_borrow(this).downcast_unchecked())
}

unsafe extern "C" fn notify_mime_types_trampoline<P>(this: *mut ffi::WebKitFileChooserRequest, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<FileChooserRequest> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&FileChooserRequest::from_glib_borrow(this).downcast_unchecked())
}

unsafe extern "C" fn notify_select_multiple_trampoline<P>(this: *mut ffi::WebKitFileChooserRequest, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<FileChooserRequest> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&FileChooserRequest::from_glib_borrow(this).downcast_unchecked())
}

unsafe extern "C" fn notify_selected_files_trampoline<P>(this: *mut ffi::WebKitFileChooserRequest, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<FileChooserRequest> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&FileChooserRequest::from_glib_borrow(this).downcast_unchecked())
}
13 changes: 3 additions & 10 deletions src/auto/find_controller.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (d50d839) from gir-files (469db10)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
// DO NOT EDIT

use WebView;
Expand Down Expand Up @@ -120,8 +121,7 @@ impl<O: IsA<FindController> + IsA<glib::object::Object>> FindControllerExt for O

fn get_property_text(&self) -> Option<String> {
unsafe {
let mut value = Value::uninitialized();
gobject_ffi::g_value_init(value.to_glib_none_mut().0, <String as StaticType>::static_type().to_glib());
let mut value = Value::from_type(<String as StaticType>::static_type());
gobject_ffi::g_object_get_property(self.to_glib_none().0, "text".to_glib_none().0, value.to_glib_none_mut().0);
value.get()
}
Expand Down Expand Up @@ -186,49 +186,42 @@ impl<O: IsA<FindController> + IsA<glib::object::Object>> FindControllerExt for O

unsafe extern "C" fn counted_matches_trampoline<P>(this: *mut ffi::WebKitFindController, match_count: libc::c_uint, f: glib_ffi::gpointer)
where P: IsA<FindController> {
callback_guard!();
let f: &&(Fn(&P, u32) + 'static) = transmute(f);
f(&FindController::from_glib_borrow(this).downcast_unchecked(), match_count)
}

unsafe extern "C" fn failed_to_find_text_trampoline<P>(this: *mut ffi::WebKitFindController, f: glib_ffi::gpointer)
where P: IsA<FindController> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&FindController::from_glib_borrow(this).downcast_unchecked())
}

unsafe extern "C" fn found_text_trampoline<P>(this: *mut ffi::WebKitFindController, match_count: libc::c_uint, f: glib_ffi::gpointer)
where P: IsA<FindController> {
callback_guard!();
let f: &&(Fn(&P, u32) + 'static) = transmute(f);
f(&FindController::from_glib_borrow(this).downcast_unchecked(), match_count)
}

unsafe extern "C" fn notify_max_match_count_trampoline<P>(this: *mut ffi::WebKitFindController, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<FindController> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&FindController::from_glib_borrow(this).downcast_unchecked())
}

unsafe extern "C" fn notify_options_trampoline<P>(this: *mut ffi::WebKitFindController, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<FindController> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&FindController::from_glib_borrow(this).downcast_unchecked())
}

unsafe extern "C" fn notify_text_trampoline<P>(this: *mut ffi::WebKitFindController, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<FindController> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&FindController::from_glib_borrow(this).downcast_unchecked())
}

unsafe extern "C" fn notify_web_view_trampoline<P>(this: *mut ffi::WebKitFindController, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<FindController> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&FindController::from_glib_borrow(this).downcast_unchecked())
}
12 changes: 8 additions & 4 deletions src/auto/flags.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
// This file was generated by gir (d50d839) from gir-files (469db10)
// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb)
// from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70)
// DO NOT EDIT

use ffi;
use glib::Type;
use glib::StaticType;
use glib::value::{Value, SetValue, FromValue, FromValueOptional};
use gobject_ffi;
use glib::Type;
use glib::translate::*;
use glib::value::FromValue;
use glib::value::FromValueOptional;
use glib::value::SetValue;
use glib::value::Value;
use gobject_ffi;

#[cfg(any(feature = "v2_10", feature = "dox"))]
bitflags! {
Expand Down
Loading