mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 11:01:10 +00:00
Adapt to no longer re-exported auto functions
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1307>
This commit is contained in:
parent
54979d859d
commit
3228c36ef7
9 changed files with 15 additions and 8 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
use std::mem;
|
||||
|
||||
pub use crate::auto::functions::*;
|
||||
use glib::{prelude::*, translate::*};
|
||||
|
||||
#[doc(alias = "gst_type_find_helper_for_data")]
|
||||
|
|
|
@ -21,7 +21,7 @@ macro_rules! skip_assert_initialized {
|
|||
}
|
||||
|
||||
mod auto;
|
||||
pub use crate::auto::{functions::*, *};
|
||||
pub use crate::auto::*;
|
||||
|
||||
pub mod functions;
|
||||
pub use crate::functions::*;
|
||||
|
|
|
@ -2,6 +2,7 @@ use std::ptr;
|
|||
|
||||
use glib::{object::IsA, translate::*};
|
||||
|
||||
pub use crate::auto::functions::*;
|
||||
use crate::{GLContext, GLDisplay};
|
||||
|
||||
#[doc(alias = "gst_gl_handle_context_query")]
|
||||
|
|
|
@ -23,7 +23,7 @@ macro_rules! skip_assert_initialized {
|
|||
}
|
||||
|
||||
mod auto;
|
||||
pub use crate::auto::{functions::*, *};
|
||||
pub use crate::auto::*;
|
||||
|
||||
#[cfg(feature = "serde")]
|
||||
mod flag_serde;
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
use std::{mem, ptr};
|
||||
|
||||
pub use crate::auto::functions::*;
|
||||
use glib::translate::*;
|
||||
|
||||
pub unsafe trait CodecTag<'a>: gst::Tag<'a, TagType = &'a str> {}
|
||||
|
|
|
@ -28,7 +28,7 @@ macro_rules! skip_assert_initialized {
|
|||
}
|
||||
|
||||
mod auto;
|
||||
pub use crate::auto::{functions::*, *};
|
||||
pub use crate::auto::*;
|
||||
|
||||
#[cfg(feature = "v1_20")]
|
||||
mod element_properties;
|
||||
|
|
|
@ -21,7 +21,7 @@ macro_rules! skip_assert_initialized {
|
|||
}
|
||||
|
||||
mod auto;
|
||||
pub use crate::auto::{functions::*, *};
|
||||
pub use crate::auto::*;
|
||||
|
||||
#[cfg(feature = "serde")]
|
||||
mod flag_serde;
|
||||
|
@ -58,3 +58,7 @@ pub mod prelude {
|
|||
auto::traits::*, rtp_base_depayload::RTPBaseDepayloadExtManual, rtp_buffer::RTPBufferExt,
|
||||
};
|
||||
}
|
||||
|
||||
pub mod functions {
|
||||
pub use super::auto::functions::*;
|
||||
}
|
||||
|
|
|
@ -7,9 +7,9 @@ use glib::{prelude::*, translate::*};
|
|||
#[cfg(feature = "v1_18")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
|
||||
use crate::Tracer;
|
||||
use crate::{
|
||||
auto::functions::parse_bin_from_description, Bin, Element, Object, ParseContext, ParseFlags,
|
||||
};
|
||||
use crate::{Bin, Element, Object, ParseContext, ParseFlags};
|
||||
|
||||
pub use crate::auto::functions::*;
|
||||
|
||||
pub fn parse_bin_from_description_with_name(
|
||||
bin_description: &str,
|
||||
|
|
|
@ -41,7 +41,7 @@ macro_rules! skip_assert_initialized {
|
|||
#[allow(clippy::needless_borrow)]
|
||||
#[allow(clippy::let_unit_value)]
|
||||
mod auto;
|
||||
pub use crate::auto::{functions::*, *};
|
||||
pub use crate::auto::*;
|
||||
|
||||
#[macro_use]
|
||||
#[cfg(feature = "serde")]
|
||||
|
|
Loading…
Reference in a new issue