mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
31 lines
891 B
C#
31 lines
891 B
C#
|
// This file was generated by the Gtk# code generator.
|
||
|
// Any changes made will be lost if regenerated.
|
||
|
|
||
|
namespace Gst {
|
||
|
|
||
|
using System;
|
||
|
using System.Runtime.InteropServices;
|
||
|
|
||
|
#region Autogenerated code
|
||
|
public partial class Application {
|
||
|
|
||
|
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
|
||
|
static extern void gst_version(out uint major, out uint minor, out uint micro, out uint nano);
|
||
|
|
||
|
public static void Version(out uint major, out uint minor, out uint micro, out uint nano) {
|
||
|
gst_version(out major, out minor, out micro, out nano);
|
||
|
}
|
||
|
|
||
|
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
|
||
|
static extern IntPtr gst_version_string();
|
||
|
|
||
|
public static string VersionString() {
|
||
|
IntPtr raw_ret = gst_version_string();
|
||
|
string ret = GLib.Marshaller.PtrToStringGFree(raw_ret);
|
||
|
return ret;
|
||
|
}
|
||
|
|
||
|
#endregion
|
||
|
}
|
||
|
}
|