mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 17:41:05 +00:00
e8f340c60a
`Self` is now used in more places, shortening the code and making it more readable at the same time.
18 lines
555 B
Rust
18 lines
555 B
Rust
// Generated by gir (https://github.com/gtk-rs/gir @ 0516825)
|
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
|
// DO NOT EDIT
|
|
|
|
#[cfg(not(feature = "dox"))]
|
|
use std::process;
|
|
|
|
#[cfg(feature = "dox")]
|
|
fn main() {} // prevent linking libraries to avoid documentation failure
|
|
|
|
#[cfg(not(feature = "dox"))]
|
|
fn main() {
|
|
if let Err(s) = system_deps::Config::new().probe() {
|
|
println!("cargo:warning={}", s);
|
|
process::exit(1);
|
|
}
|
|
}
|