Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zeeshan Ali
gstreamer-rs
Commits
e34212d5
Commit
e34212d5
authored
Dec 20, 2017
by
Sebastian Dröge
🍵
Browse files
parse_bin_from_description() return value is not nullable, except for errors
parent
210119d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Gir_Gst.toml
View file @
e34212d5
...
...
@@ -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"
...
...
gstreamer/src/auto/functions.rs
View file @
e34212d5
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment