From: Evan Nemerson Date: Fri, 17 Sep 2010 05:32:07 +0000 (-0700) Subject: glib-2.0: Add several missing symbols for glib-2.26. X-Git-Tag: 0.10.0~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5da6764d18a93893ab1b0ddaec920bf0807d7f25;p=thirdparty%2Fvala.git glib-2.0: Add several missing symbols for glib-2.26. --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 61d23c0ed..b04fa3546 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -1466,6 +1466,9 @@ namespace GLib { public static unowned MainContext get_thread_default (); public void push_thread_default (); public void pop_thread_default (); + public unowned string? get_name (); + public void set_name (string? name); + public static void set_name_by_id (uint tag, string? name); } [CCode (has_target = false)] @@ -3010,6 +3013,8 @@ namespace GLib { public class Regex { public Regex (string pattern, RegexCompileFlags compile_options = 0, RegexMatchFlags match_options = 0) throws RegexError; public unowned string get_pattern (); + public RegexCompileFlags get_compile_flags (); + public RegexMatchFlags get_match_flags (); public int get_max_backref (); public int get_capture_count (); public int get_string_number (string name); @@ -3929,6 +3934,8 @@ namespace GLib { public static unowned string ngettext (string msgid, string msgid_plural, ulong n); [CCode (cname = "g_dgettext", cheader_filename = "glib/gi18n-lib.h")] public static unowned string dgettext (string? domain, string msgid); + [CCode (cname = "g_dcgettext", cheader_filename = "glib/gi18n-lib.h")] + public static unowned string dcgettext (string? domain, string msgid, int category); [CCode (cname = "g_dngettext", cheader_filename = "glib/gi18n-lib.h")] public static unowned string dngettext (string? domain, string msgid, string msgid_plural, ulong n); [CCode (cname = "g_dpgettext", cheader_filename = "glib/gi18n-lib.h")] @@ -4079,7 +4086,9 @@ namespace GLib { public unowned string get_type_string (); public bool is_of_type (VariantType type); public bool is_container (); + public bool is_floating (); public Class classify (); + public int compare (Variant other); public Variant.boolean (bool value); public Variant.byte (uchar value);