public Gst.Sdp.SDPZone GetZone(uint idx) { IntPtr raw_ret = gst_sdp_message_get_zone(Handle, idx); Gst.Sdp.SDPZone ret = Gst.Sdp.SDPZone.New(raw_ret); return(ret); }
public Gst.Sdp.SDPResult ReplaceZone(uint idx, Gst.Sdp.SDPZone zone) { IntPtr native_zone = GLib.Marshaller.StructureToPtrAlloc (zone); int raw_ret = gst_sdp_message_replace_zone(Handle, idx, native_zone); Gst.Sdp.SDPResult ret = (Gst.Sdp.SDPResult) raw_ret; Marshal.FreeHGlobal (native_zone); return ret; }
static void ReadNative(IntPtr native, ref Gst.Sdp.SDPZone target) { target = New(native); }