[vala] glib-2.0: Add Windows compatibility functions
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] glib-2.0: Add Windows compatibility functions
- Date: Wed, 8 Jul 2009 18:14:27 +0000 (UTC)
commit c1280c754c8f3c82ce5a05ad498b484cef279a20
Author: Matias De la Puente <mfpuente ar gmail com>
Date: Tue Jun 2 14:42:00 2009 -0300
glib-2.0: Add Windows compatibility functions
Fixes bug 584636.
Signed-off-by: Matias De la Puente <mfpuente ar gmail com>
vapi/glib-2.0.vapi | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index cbba20c..fa225e0 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3389,4 +3389,16 @@ namespace GLib {
[CCode (cname = "g_pattern_match_simple")]
public static bool match_simple (string pattern, string str);
}
+
+ namespace Win32 {
+ public string error_message (int error);
+ public string getlocale ();
+ public string get_package_installation_directory_of_module (void* hmodule);
+ public uint get_windows_version ();
+ public string locale_filename_from_utf8 (string utf8filename);
+ [CCode (cname = "G_WIN32_HAVE_WIDECHAR_API")]
+ public bool have_widechar_api ();
+ [CCode (cname = "G_WIN32_IS_NT_BASED")]
+ public bool is_nt_based ();
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]