mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-12 11:20:11 +08:00
deprecate old gst functions and types
This commit is contained in:
@@ -10,12 +10,16 @@ import (
|
||||
|
||||
type ControlBinding struct{ *Object }
|
||||
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func (cb *ControlBinding) Instance() *C.GstControlBinding {
|
||||
return C.toGstControlBinding(cb.Unsafe())
|
||||
}
|
||||
|
||||
type DirectControlBinding struct{ *ControlBinding }
|
||||
|
||||
//
|
||||
// Deprecated: This is handwritten and will be removed in a future version. Please use the autogenerated bindings instead.
|
||||
func NewDirectControlBinding(obj *Object, prop string, csource *InterpolationControlSource) *DirectControlBinding {
|
||||
cprop := C.CString(prop)
|
||||
defer C.free(unsafe.Pointer(cprop))
|
||||
|
Reference in New Issue
Block a user