mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 23:46:43 +00:00
38a0731461
Generated files were generated using 'ninja -C build update-code' except for libgstfft, which had to be updated manually (see issue #25). Note: with these changes, building on MS Windows will require the msvc compiler - mingw will no longer work.
30 lines
885 B
C#
30 lines
885 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("gstreamer-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("gstreamer-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
|
|
}
|
|
}
|