prep for regen: relaxed get fn identification

This commit is contained in:
François Laignel 2021-04-16 15:58:06 +02:00
parent ab8cc6d4ba
commit 3f442d9775

View file

@ -23,9 +23,11 @@ generate = [
"Gst.CoreError", "Gst.CoreError",
"Gst.DebugColorFlags", "Gst.DebugColorFlags",
"Gst.DebugGraphDetails", "Gst.DebugGraphDetails",
"Gst.DebugLevel",
"Gst.EventTypeFlags", "Gst.EventTypeFlags",
"Gst.LibraryError", "Gst.LibraryError",
"Gst.PadDirection", "Gst.PadDirection",
"Gst.PadMode",
"Gst.PadPresence", "Gst.PadPresence",
"Gst.PadProbeReturn", "Gst.PadProbeReturn",
"Gst.ParseError", "Gst.ParseError",
@ -242,10 +244,6 @@ status = "generate"
[[object.derive]] [[object.derive]]
name = "Debug, PartialEq, Eq, PartialOrd, Ord, Hash" name = "Debug, PartialEq, Eq, PartialOrd, Ord, Hash"
[[object.function]] [[object.function]]
name = "get_name"
# consumes `self` so not considered as a getter by gir
rename = "name"
[[object.function]]
name = "register" name = "register"
# Needs manual work # Needs manual work
ignore = true ignore = true
@ -357,14 +355,6 @@ status = "generate"
[[object.member]] [[object.member]]
name = "instant_rate_sync_time" name = "instant_rate_sync_time"
version = "1.18" 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]] [[object]]
name = "Gst.Structure" name = "Gst.Structure"
@ -538,6 +528,11 @@ manual_traits = ["ElementExtManual"]
# manual implementation also works for earlier versions # manual implementation also works for earlier versions
manual = true 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]] [[object.function]]
name = "post_message" name = "post_message"
# takes ownership of message # takes ownership of message
@ -726,14 +721,6 @@ name = "Gst.TypeFindFactory"
status = "generate" status = "generate"
final_type = true 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]] [[object]]
name = "Gst.DeviceProviderFactory" name = "Gst.DeviceProviderFactory"
status = "generate" status = "generate"
@ -1075,14 +1062,6 @@ manual_traits = ["PadExtManual"]
# Has a proper getter # Has a proper getter
ignore = true 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]] [[object]]
name = "Gst.PadTemplate" name = "Gst.PadTemplate"
status = "generate" status = "generate"
@ -1672,8 +1651,6 @@ name = "Gst.StateChange"
status = "generate" status = "generate"
[[object.function]] [[object.function]]
name = "get_name" name = "get_name"
# consumes `self` so not considered as a getter by gir
rename = "name"
# Manual function for < v1_14: # Manual function for < v1_14:
manual = true manual = true
# Always generate the trait, without version constraint: # Always generate the trait, without version constraint: