[vala/staging] vapi: Update GIR-based bindings
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] vapi: Update GIR-based bindings
- Date: Sun, 7 Jun 2020 13:34:31 +0000 (UTC)
commit 839bc4f013bc881a7cabbcc39a5de399342dbf6f
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Jun 7 15:29:07 2020 +0200
vapi: Update GIR-based bindings
vapi/gio-2.0.vapi | 16 ++++++++--------
vapi/harfbuzz-gobject.vapi | 10 +++++++++-
2 files changed, 17 insertions(+), 9 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 2c60193f9..2b64455b6 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -1206,7 +1206,7 @@ namespace GLib {
[CCode (has_construct_function = false)]
public FileAttributeMatcher (string attributes);
public bool enumerate_namespace (string ns);
- public unowned string enumerate_next ();
+ public unowned string? enumerate_next ();
public bool matches (string attribute);
public bool matches_only (string attribute);
public unowned GLib.FileAttributeMatcher @ref ();
@@ -1272,22 +1272,22 @@ namespace GLib {
public GLib.FileInfo dup ();
public string? get_attribute_as_string (string attribute);
public bool get_attribute_boolean (string attribute);
- public unowned string get_attribute_byte_string (string attribute);
+ public unowned string? get_attribute_byte_string (string attribute);
public bool get_attribute_data (string attribute, out GLib.FileAttributeType type, out void*
value_pp, out GLib.FileAttributeStatus status);
public int32 get_attribute_int32 (string attribute);
public int64 get_attribute_int64 (string attribute);
- public unowned GLib.Object get_attribute_object (string attribute);
+ public unowned GLib.Object? get_attribute_object (string attribute);
public GLib.FileAttributeStatus get_attribute_status (string attribute);
- public unowned string get_attribute_string (string attribute);
+ public unowned string? get_attribute_string (string attribute);
[CCode (array_length = false, array_null_terminated = true)]
[Version (since = "2.22")]
- public unowned string[] get_attribute_stringv (string attribute);
+ public unowned string[]? get_attribute_stringv (string attribute);
public GLib.FileAttributeType get_attribute_type (string attribute);
public uint32 get_attribute_uint32 (string attribute);
public uint64 get_attribute_uint64 (string attribute);
- public unowned string get_content_type ();
+ public unowned string? get_content_type ();
[Version (since = "2.36")]
- public GLib.DateTime get_deletion_date ();
+ public GLib.DateTime? get_deletion_date ();
public unowned string get_display_name ();
public unowned string get_edit_name ();
public unowned string get_etag ();
@@ -2962,7 +2962,7 @@ namespace GLib {
public ThreadedSocketService (int max_threads);
[NoAccessorMethod]
public int max_threads { get; construct; }
- public virtual signal bool run (GLib.SocketConnection connection, GLib.Object source_object);
+ public virtual signal bool run (GLib.SocketConnection connection, GLib.Object? source_object);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_certificate_get_type ()")]
[Version (since = "2.28")]
diff --git a/vapi/harfbuzz-gobject.vapi b/vapi/harfbuzz-gobject.vapi
index f0b31d760..418eea545 100644
--- a/vapi/harfbuzz-gobject.vapi
+++ b/vapi/harfbuzz-gobject.vapi
@@ -1401,6 +1401,10 @@ namespace HarfBuzz {
NANDINAGARI,
NYIAKENG_PUACHUE_HMONG,
WANCHO,
+ CHORASMIAN,
+ DIVES_AKURU,
+ KHITAN_SMALL_SCRIPT,
+ YEZIDI,
INVALID;
[Version (since = "0.9.2")]
public static HarfBuzz.Script from_iso15924_tag (HarfBuzz.Tag tag);
@@ -1625,6 +1629,7 @@ namespace HarfBuzz {
[Version (since = "1.0.5")]
public static int ft_font_get_load_flags (HarfBuzz.Font font);
[CCode (cheader_filename = "hb-gobject.h")]
+ [Version (since = "1.0.5")]
public static void ft_font_set_funcs (HarfBuzz.Font font);
[CCode (cheader_filename = "hb-gobject.h")]
[Version (since = "1.0.5")]
@@ -1636,10 +1641,13 @@ namespace HarfBuzz {
[Version (since = "0.9.38")]
public static HarfBuzz.Blob glib_blob_create (GLib.Bytes gbytes);
[CCode (cheader_filename = "hb-gobject.h")]
- public static HarfBuzz.UnicodeFuncs glib_get_unicode_funcs ();
+ [Version (since = "0.9.38")]
+ public static unowned HarfBuzz.UnicodeFuncs glib_get_unicode_funcs ();
[CCode (cheader_filename = "hb-gobject.h")]
+ [Version (since = "0.9.38")]
public static GLib.UnicodeScript glib_script_from_script (HarfBuzz.Script script);
[CCode (cheader_filename = "hb-gobject.h")]
+ [Version (since = "0.9.38")]
public static HarfBuzz.Script glib_script_to_script (GLib.UnicodeScript script);
[CCode (cheader_filename = "hb-gobject.h")]
[Version (since = "1.5.0")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]