[vala/0.34] vapi: Update GIR-based bindings
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.34] vapi: Update GIR-based bindings
- Date: Thu, 6 Oct 2016 08:13:04 +0000 (UTC)
commit dc89de8c3cf0ff284b46f62de90bf12edce43694
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Oct 3 10:14:51 2016 +0200
vapi: Update GIR-based bindings
vapi/gdk-3.0.vapi | 16 ++++++++--------
vapi/gstreamer-app-1.0.vapi | 19 ++++++++-----------
vapi/gstreamer-audio-1.0.vapi | 2 ++
vapi/metadata/GstAudio-1.0.metadata | 2 ++
4 files changed, 20 insertions(+), 19 deletions(-)
---
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index 0110a2e..9336779 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -4779,7 +4779,7 @@ namespace Gdk {
[Version (since = "2.4")]
public void get_maximal_cursor_size (out uint width, out uint height);
[Version (since = "3.22")]
- public unowned Gdk.Monitor get_monitor (int monitor_num);
+ public unowned Gdk.Monitor? get_monitor (int monitor_num);
[Version (since = "3.22")]
public unowned Gdk.Monitor get_monitor_at_point (int x, int y);
[Version (since = "3.22")]
@@ -4793,7 +4793,7 @@ namespace Gdk {
[Version (deprecated = true, deprecated_since = "3.0", since = "2.2")]
public void get_pointer (out unowned Gdk.Screen screen, out int x, out int y, out
Gdk.ModifierType mask);
[Version (since = "3.22")]
- public unowned Gdk.Monitor get_primary_monitor ();
+ public unowned Gdk.Monitor? get_primary_monitor ();
[Version (deprecated = true, deprecated_since = "3.20", since = "2.2")]
public unowned Gdk.Screen get_screen (int screen_num);
[Version (deprecated = true, deprecated_since = "3.0", since = "2.2")]
@@ -4829,7 +4829,7 @@ namespace Gdk {
[Version (since = "2.2")]
public void set_double_click_time (uint msec);
[Version (since = "2.6")]
- public void store_clipboard (Gdk.Window clipboard_window, uint32 time_, [CCode
(array_length_cname = "n_targets", array_length_pos = 3.1)] Gdk.Atom[] targets);
+ public void store_clipboard (Gdk.Window clipboard_window, uint32 time_, [CCode
(array_length_cname = "n_targets", array_length_pos = 3.1)] Gdk.Atom[]? targets);
[Version (since = "2.6")]
public bool supports_clipboard_persistence ();
[Version (deprecated = true, deprecated_since = "3.16", since = "2.12")]
@@ -4888,7 +4888,7 @@ namespace Gdk {
public unowned Gdk.Window get_dest_window ();
public unowned Gdk.Device get_device ();
[Version (since = "3.20")]
- public unowned Gdk.Window get_drag_window ();
+ public unowned Gdk.Window? get_drag_window ();
[Version (since = "3.0")]
public Gdk.DragProtocol get_protocol ();
[Version (since = "2.22")]
@@ -5381,23 +5381,23 @@ namespace Gdk {
[Version (since = "3.16")]
public static void clear_current ();
[Version (since = "3.16")]
- public static unowned Gdk.GLContext get_current ();
+ public static unowned Gdk.GLContext? get_current ();
[Version (since = "3.16")]
public bool get_debug_enabled ();
[Version (since = "3.16")]
- public unowned Gdk.Display get_display ();
+ public unowned Gdk.Display? get_display ();
[Version (since = "3.16")]
public bool get_forward_compatible ();
[Version (since = "3.16")]
public void get_required_version (out int? major, out int? minor);
[Version (since = "3.16")]
- public unowned Gdk.GLContext get_shared_context ();
+ public unowned Gdk.GLContext? get_shared_context ();
[Version (since = "3.22")]
public bool get_use_es ();
[Version (since = "3.16")]
public void get_version (out int major, out int minor);
[Version (since = "3.16")]
- public unowned Gdk.Window get_window ();
+ public unowned Gdk.Window? get_window ();
[Version (since = "3.20")]
public bool is_legacy ();
[Version (since = "3.16")]
diff --git a/vapi/gstreamer-app-1.0.vapi b/vapi/gstreamer-app-1.0.vapi
index fe2ab69..7967d9e 100644
--- a/vapi/gstreamer-app-1.0.vapi
+++ b/vapi/gstreamer-app-1.0.vapi
@@ -14,6 +14,10 @@ namespace Gst {
public uint get_max_buffers ();
public bool get_wait_on_eos ();
public bool is_eos ();
+ [NoWrapper]
+ public virtual Gst.FlowReturn new_preroll ();
+ [NoWrapper]
+ public virtual Gst.FlowReturn new_sample ();
public void set_caps (Gst.Caps caps);
public void set_drop (bool drop);
public void set_emit_signals (bool emit);
@@ -26,8 +30,6 @@ namespace Gst {
public virtual bool eos { get; }
public uint max_buffers { get; set; }
public bool wait_on_eos { get; set; }
- public virtual signal Gst.FlowReturn new_preroll ();
- public virtual signal Gst.FlowReturn new_sample ();
[HasEmitter]
public virtual signal Gst.Sample pull_preroll ();
[HasEmitter]
@@ -44,6 +46,7 @@ namespace Gst {
public class Src : Gst.Base.Src, Gst.URIHandler {
[CCode (has_construct_function = false)]
protected Src ();
+ public virtual Gst.FlowReturn end_of_stream ();
public Gst.Caps get_caps ();
[Version (since = "1.2")]
public uint64 get_current_level_bytes ();
@@ -54,6 +57,9 @@ namespace Gst {
public uint64 get_max_bytes ();
public int64 get_size ();
public Gst.App.StreamType get_stream_type ();
+ public virtual Gst.FlowReturn push_buffer (owned Gst.Buffer buffer);
+ [Version (since = "1.6")]
+ public virtual Gst.FlowReturn push_sample (Gst.Sample sample);
public void set_caps (Gst.Caps caps);
[Version (since = "1.10")]
public void set_duration (Gst.ClockTime duration);
@@ -69,8 +75,6 @@ namespace Gst {
public uint64 duration { get; set; }
public bool emit_signals { get; set; }
[NoAccessorMethod]
- public Gst.Format format { get; set; }
- [NoAccessorMethod]
public bool is_live { get; set; }
public uint64 max_bytes { get; set; }
[NoAccessorMethod]
@@ -81,15 +85,8 @@ namespace Gst {
public uint min_percent { get; set; }
public int64 size { get; set; }
public Gst.App.StreamType stream_type { get; set; }
- [HasEmitter]
- public virtual signal Gst.FlowReturn end_of_stream ();
public virtual signal void enough_data ();
public virtual signal void need_data (uint length);
- [HasEmitter]
- public virtual signal Gst.FlowReturn push_buffer (Gst.Buffer buffer);
- [HasEmitter]
- [Version (since = "1.6")]
- public virtual signal Gst.FlowReturn push_sample (Gst.Sample sample);
public virtual signal bool seek_data (uint64 offset);
}
[CCode (cheader_filename = "gst/app/app.h", cprefix = "GST_APP_STREAM_TYPE_", type_id =
"gst_app_stream_type_get_type ()")]
diff --git a/vapi/gstreamer-audio-1.0.vapi b/vapi/gstreamer-audio-1.0.vapi
index 8d5a940..720021b 100644
--- a/vapi/gstreamer-audio-1.0.vapi
+++ b/vapi/gstreamer-audio-1.0.vapi
@@ -322,6 +322,8 @@ namespace Gst {
[Compact]
[GIR (name = "AudioResampler")]
public class Resampler {
+ [CCode (has_construct_function = false)]
+ public Resampler (Gst.Audio.ResamplerMethod method, Gst.Audio.ResamplerFlags flags,
Gst.Audio.Format format, int channels, int in_rate, int out_rate, Gst.Structure options);
[Version (since = "1.6")]
public void free ();
public size_t get_in_frames (size_t out_frames);
diff --git a/vapi/metadata/GstAudio-1.0.metadata b/vapi/metadata/GstAudio-1.0.metadata
index 162dfa7..df64271 100644
--- a/vapi/metadata/GstAudio-1.0.metadata
+++ b/vapi/metadata/GstAudio-1.0.metadata
@@ -2,6 +2,8 @@
Audio* name="Audio(.+)"
AUDIO_* name="AUDIO_(.+)"
+audio_resampler_new symbol_type="constructor" parent="Gst.Audio.Resampler" name="new"
+
// Field ownership
AudioBaseSink.provided_clock unowned=false
AudioClock.*#field skip
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]