]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Add binding for g_strv_contains, g_option_context_?et_strict_posix
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 1 Dec 2014 13:24:25 +0000 (14:24 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 1 Dec 2014 13:24:25 +0000 (14:24 +0100)
vapi/glib-2.0.vapi

index 7ce1df76362a6a47115131bd78e1b9ff8151991f..01d3c714c7ed427016deb7279b8faca77539f3a1 100644 (file)
@@ -2246,6 +2246,7 @@ namespace GLib {
        /* String Utility Functions */
 
        public uint strv_length ([CCode (array_length = false, array_null_terminated = true)] string[] str_array);
+       public bool strv_contains ([CCode (array_length = false, array_null_terminated = true)] string[] str_array, string str);
 
        [CCode (cname = "errno", cheader_filename = "errno.h")]
        public int errno;
@@ -3323,6 +3324,8 @@ namespace GLib {
                public void add_group (owned OptionGroup group);
                public void set_main_group (owned OptionGroup group);
                public unowned OptionGroup get_main_group ();
+               public void set_strict_posix (bool strict_posix);
+               public bool get_strict_posix ();
        }
 
        public delegate unowned string TranslateFunc (string str);