mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-28 20:41:31 +00:00
prep for regen: relaxed get fn identification
This commit is contained in:
parent
ab8cc6d4ba
commit
3f442d9775
1 changed files with 7 additions and 30 deletions
|
@ -23,9 +23,11 @@ generate = [
|
|||
"Gst.CoreError",
|
||||
"Gst.DebugColorFlags",
|
||||
"Gst.DebugGraphDetails",
|
||||
"Gst.DebugLevel",
|
||||
"Gst.EventTypeFlags",
|
||||
"Gst.LibraryError",
|
||||
"Gst.PadDirection",
|
||||
"Gst.PadMode",
|
||||
"Gst.PadPresence",
|
||||
"Gst.PadProbeReturn",
|
||||
"Gst.ParseError",
|
||||
|
@ -242,10 +244,6 @@ status = "generate"
|
|||
[[object.derive]]
|
||||
name = "Debug, PartialEq, Eq, PartialOrd, Ord, Hash"
|
||||
[[object.function]]
|
||||
name = "get_name"
|
||||
# consumes `self` so not considered as a getter by gir
|
||||
rename = "name"
|
||||
[[object.function]]
|
||||
name = "register"
|
||||
# Needs manual work
|
||||
ignore = true
|
||||
|
@ -357,14 +355,6 @@ status = "generate"
|
|||
[[object.member]]
|
||||
name = "instant_rate_sync_time"
|
||||
version = "1.18"
|
||||
[[object.function]]
|
||||
name = "get_flags"
|
||||
# consumes `self` so not considered as a getter by gir
|
||||
rename = "flags"
|
||||
[[object.function]]
|
||||
name = "get_name"
|
||||
# consumes `self` so not considered as a getter by gir
|
||||
rename = "name"
|
||||
|
||||
[[object]]
|
||||
name = "Gst.Structure"
|
||||
|
@ -538,6 +528,11 @@ manual_traits = ["ElementExtManual"]
|
|||
# manual implementation also works for earlier versions
|
||||
manual = true
|
||||
|
||||
[[object.function]]
|
||||
name = "get_request_pad"
|
||||
# rename to more explicite name and avoid conflict with `request_pad`
|
||||
rename = "request_pad_simple"
|
||||
|
||||
[[object.function]]
|
||||
name = "post_message"
|
||||
# takes ownership of message
|
||||
|
@ -726,14 +721,6 @@ name = "Gst.TypeFindFactory"
|
|||
status = "generate"
|
||||
final_type = true
|
||||
|
||||
[[object]]
|
||||
name = "Gst.DebugLevel"
|
||||
status = "generate"
|
||||
[[object.function]]
|
||||
name = "get_name"
|
||||
# consumes `self` so not considered as a getter by gir
|
||||
rename = "name"
|
||||
|
||||
[[object]]
|
||||
name = "Gst.DeviceProviderFactory"
|
||||
status = "generate"
|
||||
|
@ -1075,14 +1062,6 @@ manual_traits = ["PadExtManual"]
|
|||
# Has a proper getter
|
||||
ignore = true
|
||||
|
||||
[[object]]
|
||||
name = "Gst.PadMode"
|
||||
status = "generate"
|
||||
[[object.function]]
|
||||
name = "get_name"
|
||||
# consumes `self` so not considered as a getter by gir
|
||||
rename = "name"
|
||||
|
||||
[[object]]
|
||||
name = "Gst.PadTemplate"
|
||||
status = "generate"
|
||||
|
@ -1672,8 +1651,6 @@ name = "Gst.StateChange"
|
|||
status = "generate"
|
||||
[[object.function]]
|
||||
name = "get_name"
|
||||
# consumes `self` so not considered as a getter by gir
|
||||
rename = "name"
|
||||
# Manual function for < v1_14:
|
||||
manual = true
|
||||
# Always generate the trait, without version constraint:
|
||||
|
|
Loading…
Reference in a new issue