mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-16 21:10:58 +08:00
deprecate old gst functions and types
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user