public Gst.Sdp.SDPTime GetTime(uint idx) { IntPtr raw_ret = gst_sdp_message_get_time(Handle, idx); Gst.Sdp.SDPTime ret = Gst.Sdp.SDPTime.New(raw_ret); return(ret); }
public Gst.Sdp.SDPResult ReplaceTime(uint idx, Gst.Sdp.SDPTime t) { IntPtr native_t = GLib.Marshaller.StructureToPtrAlloc (t); int raw_ret = gst_sdp_message_replace_time(Handle, idx, native_t); Gst.Sdp.SDPResult ret = (Gst.Sdp.SDPResult) raw_ret; Marshal.FreeHGlobal (native_t); return ret; }
static void ReadNative(IntPtr native, ref Gst.Sdp.SDPTime target) { target = New(native); }