mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-11 19:55:25 +00:00
Clean up module exports/re-exports
This commit is contained in:
parent
51b21ef977
commit
9559742e19
3 changed files with 7 additions and 7 deletions
|
@ -14,14 +14,14 @@ use gobject_ffi;
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! callback_guard {
|
macro_rules! callback_guard {
|
||||||
() => {
|
() => {
|
||||||
let _guard = ::glib::CallbackGuard::new();
|
let _guard = $crate::glib::CallbackGuard::new();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! floating_reference_guard {
|
macro_rules! floating_reference_guard {
|
||||||
($obj:ident) => {
|
($obj:ident) => {
|
||||||
let _guard = $crate::FloatingReferenceGuard::new($obj as *mut _);
|
let _guard = $crate::guard::FloatingReferenceGuard::new($obj as *mut _);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
pub extern crate glib_sys as glib_ffi;
|
extern crate glib_sys as glib_ffi;
|
||||||
pub extern crate gobject_sys as gobject_ffi;
|
extern crate gobject_sys as gobject_ffi;
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@ pub mod anyimpl;
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
pub mod guard;
|
pub mod guard;
|
||||||
pub use guard::FloatingReferenceGuard;
|
|
||||||
|
|
||||||
pub mod properties;
|
pub mod properties;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
|
|
@ -6,12 +6,13 @@
|
||||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
extern crate byteorder;
|
extern crate byteorder;
|
||||||
|
|
||||||
pub extern crate glib_sys as glib_ffi;
|
pub extern crate glib_sys as glib_ffi;
|
||||||
pub extern crate gobject_sys as gobject_ffi;
|
pub extern crate gobject_sys as gobject_ffi;
|
||||||
extern crate gstreamer_base_sys as gst_base_ffi;
|
|
||||||
pub extern crate gstreamer_sys as gst_ffi;
|
pub extern crate gstreamer_sys as gst_ffi;
|
||||||
|
extern crate gstreamer_base_sys as gst_base_ffi;
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate lazy_static;
|
extern crate lazy_static;
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
|
|
Loading…
Reference in a new issue