Commit e34212d5 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

parse_bin_from_description() return value is not nullable, except for errors

parent 210119d9
......@@ -960,6 +960,11 @@ status = "generate"
[object.function.return]
nullable = false
[[object.function]]
name = "parse_bin_from_description"
[object.function.return]
nullable = false
[[object]]
name = "Gst.StateChangeReturn"
status = "generate"
......
......@@ -117,7 +117,7 @@ pub fn debug_unset_threshold_for_name(name: &str) {
}
}
pub fn parse_bin_from_description(bin_description: &str, ghost_unlinked_pads: bool) -> Result<Option<Bin>, Error> {
pub fn parse_bin_from_description(bin_description: &str, ghost_unlinked_pads: bool) -> Result<Bin, Error> {
assert_initialized_main_thread!();
unsafe {
let mut error = ptr::null_mut();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment