public static Gst.Rtsp.RTSPResult RtspTransportParse(string str, Gst.Rtsp.RTSPTransport transport) { IntPtr native_str = GLib.Marshaller.StringToPtrGStrdup(str); IntPtr native_transport = GLib.Marshaller.StructureToPtrAlloc(transport); int raw_ret = gst_rtsp_transport_parse(native_str, native_transport); Gst.Rtsp.RTSPResult ret = (Gst.Rtsp.RTSPResult)raw_ret; GLib.Marshaller.Free(native_str); Marshal.FreeHGlobal(native_transport); return(ret); }
static void ReadNative(IntPtr native, ref Gst.Rtsp.RTSPTransport target) { target = New(native); }