public static string TocEntryTypeGetNick(Gst.TocEntryType type) { IntPtr raw_ret = gst_toc_entry_type_get_nick((int)type); string ret = GLib.Marshaller.Utf8PtrToString(raw_ret); return(ret); }
public static TocEntry New(Gst.TocEntryType type, string uid) { IntPtr native_uid = GLib.Marshaller.StringToPtrGStrdup(uid); TocEntry result = TocEntry.New(gst_toc_entry_new((int)type, native_uid)); GLib.Marshaller.Free(native_uid); return(result); }