Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.
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 52 files
+253 −69 Cargo.lock
+4 −8 Cargo.toml
+16 −5 README.md
+1 −1 build.rs
+13 −15 src/analysis/bounds.rs
+2 −2 src/analysis/ffi_type.rs
+1 −0 src/analysis/function_parameters.rs
+13 −15 src/analysis/functions.rs
+59 −31 src/analysis/imports.rs
+2 −3 src/analysis/mod.rs
+0 −11 src/analysis/namespaces.rs
+2 −12 src/analysis/object.rs
+1 −1 src/analysis/out_parameters.rs
+1 −1 src/analysis/properties.rs
+5 −6 src/analysis/record.rs
+8 −2 src/analysis/record_type.rs
+1 −1 src/analysis/ref_mode.rs
+4 −6 src/analysis/rust_type.rs
+2 −4 src/analysis/signatures.rs
+232 −0 src/analysis/types.rs
+4 −4 src/codegen/doc/format.rs
+7 −7 src/codegen/doc/mod.rs
+19 −33 src/codegen/enums.rs
+13 −27 src/codegen/flags.rs
+1 −5 src/codegen/function_body_chunk.rs
+36 −2 src/codegen/general.rs
+22 −1 src/codegen/record.rs
+2 −0 src/codegen/signal.rs
+139 −0 src/codegen/sys/fields.rs
+12 −18 src/codegen/sys/functions.rs
+84 −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
+25 −12 src/config/config.rs
+0 −2 src/config/error.rs
+8 −0 src/config/gobjects.rs
+11 −19 src/library.rs
+105 −0 src/library_postprocessing.rs
+2 −1 src/main.rs
+661 −1,211 src/parser.rs
+1 −1 src/writer/defines.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
1 change: 0 additions & 1 deletion src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ impl<O: IsA<Application> + IsA<glib::object::Object>> ApplicationExtManual for O
#[cfg_attr(feature = "cargo-clippy", allow(transmute_ptr_to_ref))]
unsafe extern "C" fn open_trampoline<P>(this: *mut ffi::GApplication, files: *const *mut ffi::GFile, n_files: libc::c_int, hint: *mut libc::c_char, f: glib_ffi::gpointer)
where P: IsA<Application> {
callback_guard!();
let f: &&(Fn(&P, &[File], &str) + 'static) = transmute(f);
let files: Vec<File> = FromGlibContainer::from_glib_none_num(files, n_files as usize);
f(&Application::from_glib_none(this).downcast_unchecked(), &files, &String::from_glib_none(hint))
Expand Down
8 changes: 2 additions & 6 deletions src/auto/action.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (746446b) 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_38", feature = "dox"))]
Expand Down Expand Up @@ -176,35 +177,30 @@ impl<O: IsA<Action> + IsA<glib::object::Object>> ActionExt for O {

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

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

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

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

unsafe extern "C" fn notify_state_type_trampoline<P>(this: *mut ffi::GAction, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<Action> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&Action::from_glib_borrow(this).downcast_unchecked())
}
7 changes: 2 additions & 5 deletions src/auto/action_group.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (746446b) 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 @@ -176,28 +177,24 @@ impl<O: IsA<ActionGroup> + IsA<glib::object::Object>> ActionGroupExt for O {

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

unsafe extern "C" fn action_enabled_changed_trampoline<P>(this: *mut ffi::GActionGroup, action_name: *mut libc::c_char, enabled: glib_ffi::gboolean, f: glib_ffi::gpointer)
where P: IsA<ActionGroup> {
callback_guard!();
let f: &&(Fn(&P, &str, bool) + 'static) = transmute(f);
f(&ActionGroup::from_glib_borrow(this).downcast_unchecked(), &String::from_glib_none(action_name), from_glib(enabled))
}

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

unsafe extern "C" fn action_state_changed_trampoline<P>(this: *mut ffi::GActionGroup, action_name: *mut libc::c_char, value: *mut glib_ffi::GVariant, f: glib_ffi::gpointer)
where P: IsA<ActionGroup> {
callback_guard!();
let f: &&(Fn(&P, &str, &glib::Variant) + 'static) = transmute(f);
f(&ActionGroup::from_glib_borrow(this).downcast_unchecked(), &String::from_glib_none(action_name), &from_glib_borrow(value))
}
3 changes: 2 additions & 1 deletion src/auto/action_map.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (746446b) 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 Action;
Expand Down
4 changes: 2 additions & 2 deletions src/auto/app_info.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (746446b) 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 AppInfoCreateFlags;
Expand Down Expand Up @@ -89,7 +90,6 @@ impl AppInfo {
let user_data: Box<Box<Q>> = Box::new(Box::new(callback));
unsafe extern "C" fn launch_default_for_uri_async_trampoline<Q: FnOnce(Result<(), Error>) + Send + 'static>(_source_object: *mut gobject_ffi::GObject, res: *mut ffi::GAsyncResult, user_data: glib_ffi::gpointer)
{
callback_guard!();
let mut error = ptr::null_mut();
let _ = ffi::g_app_info_launch_default_for_uri_finish(res, &mut error);
let result = if error.is_null() { Ok(()) } else { Err(from_glib_full(error)) };
Expand Down
5 changes: 2 additions & 3 deletions src/auto/app_launch_context.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (746446b) 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 AppInfo;
Expand Down Expand Up @@ -125,15 +126,13 @@ impl<O: IsA<AppLaunchContext> + IsA<glib::object::Object>> AppLaunchContextExt f
#[cfg(any(feature = "v2_36", feature = "dox"))]
unsafe extern "C" fn launch_failed_trampoline<P>(this: *mut ffi::GAppLaunchContext, startup_notify_id: *mut libc::c_char, f: glib_ffi::gpointer)
where P: IsA<AppLaunchContext> {
callback_guard!();
let f: &&(Fn(&P, &str) + 'static) = transmute(f);
f(&AppLaunchContext::from_glib_borrow(this).downcast_unchecked(), &String::from_glib_none(startup_notify_id))
}

#[cfg(any(feature = "v2_36", feature = "dox"))]
unsafe extern "C" fn launched_trampoline<P>(this: *mut ffi::GAppLaunchContext, info: *mut ffi::GAppInfo, platform_data: *mut glib_ffi::GVariant, f: glib_ffi::gpointer)
where P: IsA<AppLaunchContext> {
callback_guard!();
let f: &&(Fn(&P, &AppInfo, &glib::Variant) + 'static) = transmute(f);
f(&AppLaunchContext::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(info), &from_glib_borrow(platform_data))
}
14 changes: 2 additions & 12 deletions src/auto/application.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (746446b) 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 ActionGroup;
Expand Down Expand Up @@ -479,78 +480,67 @@ impl<O: IsA<Application> + IsA<glib::object::Object>> ApplicationExt for O {

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

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

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

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

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

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

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

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

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

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

unsafe extern "C" fn notify_resource_base_path_trampoline<P>(this: *mut ffi::GApplication, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<Application> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&Application::from_glib_borrow(this).downcast_unchecked())
}
4 changes: 2 additions & 2 deletions src/auto/buffered_input_stream.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (746446b) 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 Cancellable;
Expand Down Expand Up @@ -115,7 +116,6 @@ impl<O: IsA<BufferedInputStream> + IsA<glib::object::Object>> BufferedInputStrea

unsafe extern "C" fn notify_buffer_size_trampoline<P>(this: *mut ffi::GBufferedInputStream, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<BufferedInputStream> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&BufferedInputStream::from_glib_borrow(this).downcast_unchecked())
}
5 changes: 2 additions & 3 deletions src/auto/buffered_output_stream.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (746446b) 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 FilterOutputStream;
Expand Down Expand Up @@ -97,14 +98,12 @@ impl<O: IsA<BufferedOutputStream> + IsA<glib::object::Object>> BufferedOutputStr

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

unsafe extern "C" fn notify_buffer_size_trampoline<P>(this: *mut ffi::GBufferedOutputStream, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<BufferedOutputStream> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&BufferedOutputStream::from_glib_borrow(this).downcast_unchecked())
}
4 changes: 2 additions & 2 deletions src/auto/cancellable.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (746446b) 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 @@ -155,7 +156,6 @@ impl<O: IsA<Cancellable> + IsA<glib::object::Object>> CancellableExt for O {

unsafe extern "C" fn cancelled_trampoline<P>(this: *mut ffi::GCancellable, f: glib_ffi::gpointer)
where P: IsA<Cancellable> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&Cancellable::from_glib_borrow(this).downcast_unchecked())
}
8 changes: 2 additions & 6 deletions src/auto/data_input_stream.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (746446b) 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 BufferedInputStream;
Expand Down Expand Up @@ -139,7 +140,6 @@ impl<O: IsA<DataInputStream> + IsA<glib::object::Object>> DataInputStreamExt for
let user_data: Box<Box<Q>> = Box::new(Box::new(callback));
unsafe extern "C" fn read_line_async_trampoline<Q: FnOnce(Result<usize, Error>) + Send + 'static>(_source_object: *mut gobject_ffi::GObject, res: *mut ffi::GAsyncResult, user_data: glib_ffi::gpointer)
{
callback_guard!();
let mut error = ptr::null_mut();
let mut length = mem::uninitialized();
let _ = ffi::g_data_input_stream_read_line_finish(_source_object as *mut _, res, &mut length, &mut error);
Expand Down Expand Up @@ -215,7 +215,6 @@ impl<O: IsA<DataInputStream> + IsA<glib::object::Object>> DataInputStreamExt for
let user_data: Box<Box<Q>> = Box::new(Box::new(callback));
unsafe extern "C" fn read_until_async_trampoline<Q: FnOnce(Result<usize, Error>) + Send + 'static>(_source_object: *mut gobject_ffi::GObject, res: *mut ffi::GAsyncResult, user_data: glib_ffi::gpointer)
{
callback_guard!();
let mut error = ptr::null_mut();
let mut length = mem::uninitialized();
let _ = ffi::g_data_input_stream_read_until_finish(_source_object as *mut _, res, &mut length, &mut error);
Expand Down Expand Up @@ -248,7 +247,6 @@ impl<O: IsA<DataInputStream> + IsA<glib::object::Object>> DataInputStreamExt for
let user_data: Box<Box<Q>> = Box::new(Box::new(callback));
unsafe extern "C" fn read_upto_async_trampoline<Q: FnOnce(Result<usize, Error>) + Send + 'static>(_source_object: *mut gobject_ffi::GObject, res: *mut ffi::GAsyncResult, user_data: glib_ffi::gpointer)
{
callback_guard!();
let mut error = ptr::null_mut();
let mut length = mem::uninitialized();
let _ = ffi::g_data_input_stream_read_upto_finish(_source_object as *mut _, res, &mut length, &mut error);
Expand Down Expand Up @@ -293,14 +291,12 @@ impl<O: IsA<DataInputStream> + IsA<glib::object::Object>> DataInputStreamExt for

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

unsafe extern "C" fn notify_newline_type_trampoline<P>(this: *mut ffi::GDataInputStream, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<DataInputStream> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&DataInputStream::from_glib_borrow(this).downcast_unchecked())
}
4 changes: 2 additions & 2 deletions src/auto/data_output_stream.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file was generated by gir (746446b) 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 Cancellable;
Expand Down Expand Up @@ -164,7 +165,6 @@ impl<O: IsA<DataOutputStream> + IsA<glib::object::Object>> DataOutputStreamExt f

unsafe extern "C" fn notify_byte_order_trampoline<P>(this: *mut ffi::GDataOutputStream, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
where P: IsA<DataOutputStream> {
callback_guard!();
let f: &&(Fn(&P) + 'static) = transmute(f);
f(&DataOutputStream::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 (746446b) 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;

#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum DataStreamByteOrder {
Expand Down
Loading