mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
Remove custom buffer implementations for Unref/Ref, they're in MiniObject already
This commit is contained in:
parent
9fae02a317
commit
7c771c538d
1 changed files with 0 additions and 22 deletions
|
@ -1,22 +0,0 @@
|
|||
[DllImport ("gstreamer-0.10.dll") ]
|
||||
static extern IntPtr gst_mini_object_ref (IntPtr buf);
|
||||
|
||||
public void Ref() {
|
||||
IntPtr tmp = gst_mini_object_ref (this.Handle);
|
||||
}
|
||||
|
||||
[DllImport ("gstreamer-0.10.dll") ]
|
||||
static extern void gst_mini_object_unref (IntPtr buf);
|
||||
|
||||
public void Unref() {
|
||||
gst_mini_object_unref (this.Handle);
|
||||
}
|
||||
|
||||
[DllImport ("gstreamersharpglue-0.10") ]
|
||||
static extern uint gstsharp_gst_buffer_refcount (IntPtr buf);
|
||||
|
||||
public uint Refcount {
|
||||
get {
|
||||
return gstsharp_gst_buffer_refcount (this.Handle);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue