From: Matias De la Puente Date: Tue, 2 Jun 2009 17:42:00 +0000 (-0300) Subject: glib-2.0: Add Windows compatibility functions X-Git-Tag: 0.7.5~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1280c754c8f3c82ce5a05ad498b484cef279a20;p=thirdparty%2Fvala.git glib-2.0: Add Windows compatibility functions Fixes bug 584636. Signed-off-by: Matias De la Puente --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index cbba20ce6..fa225e020 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 (); + } }