1// Take a look at the license at the top of the repository in the LICENSE file.
23#![cfg_attr(docsrs, feature(doc_cfg))]
4#![allow(clippy::missing_safety_doc)]
5#![allow(clippy::manual_c_str_literals)]
6#![doc = include_str!("../README.md")]
78pub use glib;
9pub use gst;
10pub use gstreamer_check_sys as ffi;
1112macro_rules! assert_initialized_main_thread {
13 () => {
14if !gst::INITIALIZED.load(std::sync::atomic::Ordering::SeqCst) {
15 gst::assert_initialized();
16 }
17 };
18}
1920macro_rules! skip_assert_initialized {
21 () => {};
22}
2324#[allow(unused_imports)]
25mod auto;
26pub use crate::auto::*;
2728mod test_clock;
2930pub mod harness;
31pub use crate::harness::Harness;
3233// Re-export all the traits in a prelude module, so that applications
34// can always "use gst_check::prelude::*" without getting conflicts
35pub mod prelude {
36#[doc(hidden)]
37pub use gst::prelude::*;
38}