[vala] glib-2.0: Add new symbols for 2.50



commit 9439d41996dc4656cb61ab89fcdca3e5be83590e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Jul 8 14:57:54 2016 +0200

    glib-2.0: Add new symbols for 2.50

 vapi/glib-2.0.vapi |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 0fd30e9..32af187 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1727,6 +1727,9 @@ namespace GLib {
        [CCode (type_id = "G_TYPE_INT", marshaller_type_name = "INT", get_value_function = "g_value_get_int", 
set_value_function = "g_value_set_int", default_value = "0")]
        [IntegerType (rank = 6)]
        public struct Pid : int {
+               [CCode (cname = "G_PID_FORMAT")]
+               [Version (since = "2.50")]
+               public const string FORMAT;
        }
 
        public delegate void ChildWatchFunc (Pid pid, int status);
@@ -3930,6 +3933,8 @@ namespace GLib {
        public class KeyFile {
                public KeyFile ();
                public void set_list_separator (char separator);
+               [Version (since = "2.50")]
+               public bool load_from_bytes (Bytes bytes, KeyFileFlags @flags) throws KeyFileError;
                public bool load_from_file (string file, KeyFileFlags @flags) throws KeyFileError, FileError;
                [Version (since = "2.14")]
                public bool load_from_dirs (string file, [CCode (array_length = false, array_null_terminated 
= true)] string[] search_dirs, out string full_path, KeyFileFlags @flags) throws KeyFileError, FileError;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]