2009-04-07 09:37:11 +00:00
|
|
|
[DllImport ("gstreamer-0.10.dll") ]
|
2009-04-07 09:27:20 +00:00
|
|
|
static extern IntPtr gst_mini_object_ref (IntPtr buf);
|
2006-09-07 16:24:30 +00:00
|
|
|
|
2009-04-07 09:27:20 +00:00
|
|
|
public void Ref() {
|
|
|
|
IntPtr tmp = gst_mini_object_ref (this.Handle);
|
|
|
|
}
|
2006-09-07 16:24:30 +00:00
|
|
|
|
2009-04-07 09:37:11 +00:00
|
|
|
[DllImport ("gstreamer-0.10.dll") ]
|
2009-04-07 09:27:20 +00:00
|
|
|
static extern void gst_mini_object_unref (IntPtr buf);
|
2006-09-07 16:24:30 +00:00
|
|
|
|
2009-04-07 09:27:20 +00:00
|
|
|
public void Unref() {
|
|
|
|
gst_mini_object_unref (this.Handle);
|
|
|
|
}
|
2006-09-07 16:24:30 +00:00
|
|
|
|
2009-04-07 09:27:20 +00:00
|
|
|
[DllImport ("gstreamersharpglue-0.10") ]
|
|
|
|
static extern uint gstsharp_gst_buffer_refcount (IntPtr buf);
|
2006-09-07 16:24:30 +00:00
|
|
|
|
2009-04-07 09:27:20 +00:00
|
|
|
public uint Refcount {
|
|
|
|
get {
|
|
|
|
return gstsharp_gst_buffer_refcount (this.Handle);
|
|
|
|
}
|
|
|
|
}
|