deprecate old gst functions and types

This commit is contained in:
RSWilli
2025-09-16 22:36:07 +02:00
parent 8c0ce6e826
commit 2ff1eda904
130 changed files with 4401 additions and 17 deletions

View File

@@ -34,6 +34,8 @@ var ExtendsBin glib.Extendable = &extendsBin{parent: ExtendsElement}
// BinImpl is the reference interface for Go elements extending a Bin. You only need to
// implement the methods that interest you.
//
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
type BinImpl interface {
AddElement(self *Bin, element *Element) bool
DeepElementAdded(self *Bin, subbin *Bin, child *Element)
@@ -47,10 +49,18 @@ type BinImpl interface {
type extendsBin struct{ parent glib.Extendable }
//
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
func (e *extendsBin) Type() glib.Type { return glib.Type(C.gst_bin_get_type()) }
//
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
func (e *extendsBin) ClassSize() int64 { return int64(C.sizeof_GstBinClass) }
//
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
func (e *extendsBin) InstanceSize() int64 { return int64(C.sizeof_GstBin) }
//
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
func (e *extendsBin) InitClass(klass unsafe.Pointer, elem glib.GoObjectSubclass) {
e.parent.InitClass(klass, elem)