From bfe082773e1307269367069363becfc544e3673b Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrg=20Billeter?= Date: Sun, 28 Sep 2008 13:31:15 +0000 Subject: [PATCH] =?utf8?q?Add=20g=5Fkey=5Ffile=5Fload=5Ffrom=5Fdirs=20bind?= =?utf8?q?ing,=20patch=20by=20Marc-Andr=C3=A9=20Lureau?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2008-09-28 Jürg Billeter * vapi/glib-2.0.vapi: Add g_key_file_load_from_dirs binding, patch by Marc-André Lureau svn path=/trunk/; revision=1809 --- ChangeLog | 6 ++++++ vapi/glib-2.0.vapi | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5e85071..857ad42 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,12 @@ * vapi/glib-2.0.vapi: + Add g_key_file_load_from_dirs binding, patch by Marc-André Lureau + +2008-09-28 Jürg Billeter + + * vapi/glib-2.0.vapi: + Fix g_compute_checksum_for_{data,string} bindings, patch by Marc-André Lureau diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 4bbaaea..505793c 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -1831,7 +1831,6 @@ namespace GLib { public weak string get_string (); [NoArrayLength] public void get_digest (uint8[] buffer, ref size_t digest_len); - [NoArrayLength] [CCode (cname = "g_compute_checksum_for_data")] public static string compute_for_data (ChecksumType checksum_type, uchar[] data); [CCode (cname = "g_compute_checksum_for_string")] @@ -2776,6 +2775,8 @@ namespace GLib { public KeyFile (); public void set_list_separator (char separator); public bool load_from_file (string file, KeyFileFlags @flags) throws KeyFileError; + [NoArrayLength] + public bool load_from_dirs (string file, string[] search_dirs, out string full_path, KeyFileFlags @flags) throws KeyFileError; public bool load_from_data (string data, ulong length, KeyFileFlags @flags) throws KeyFileError; public bool load_from_data_dirs (string file, out string full_path, KeyFileFlags @flags) throws KeyFileError; public string to_data (out size_t length) throws KeyFileError; -- 2.7.4