diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-04-07 11:44:26 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-04-07 11:44:26 +0200 |
commit | 7c771c538dd1d0a2b9875d81b77a432748b5612f (patch) | |
tree | e3e1e6c1b3abd92ffa26186bc256800c49fbc0e0 | |
parent | 9fae02a317ea3a5b0fb223c75ad75b18ff88a193 (diff) |
Remove custom buffer implementations for Unref/Ref, they're in MiniObject already
-rw-r--r-- | gstreamer-sharp/Buffer.custom | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gstreamer-sharp/Buffer.custom b/gstreamer-sharp/Buffer.custom index 78807ef..e69de29 100644 --- a/gstreamer-sharp/Buffer.custom +++ b/gstreamer-sharp/Buffer.custom @@ -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); - } -} |