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:
Bilal Elmoussaoui 2023-08-28 19:03:27 +02:00 committed by Sebastian Dröge
parent 54979d859d
commit 3228c36ef7
9 changed files with 15 additions and 8 deletions

View file

@ -2,6 +2,7 @@
use std::mem;
pub use crate::auto::functions::*;
use glib::{prelude::*, translate::*};
#[doc(alias = "gst_type_find_helper_for_data")]

View file

@ -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::*;

View file

@ -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")]

View file

@ -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;

View file

@ -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> {}

View file

@ -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;

View file

@ -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::*;
}

View file

@ -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,

View file

@ -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")]