[vala] glib-2.0: add default values for setlocale arguments
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: add default values for setlocale arguments
- Date: Fri, 5 Dec 2014 21:24:13 +0000 (UTC)
commit 31e8f35c0057927156287755837ff68308477a8f
Author: Evan Nemerson <evan nemerson com>
Date: Fri Dec 5 13:20:22 2014 -0800
glib-2.0: add default values for setlocale arguments
vapi/glib-2.0.vapi | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 7a7c20e..6118a59 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -4691,7 +4691,7 @@ namespace GLib {
namespace Intl {
[CCode (cname = "setlocale", cheader_filename = "locale.h")]
- public static unowned string? setlocale (LocaleCategory category, string? locale);
+ public static unowned string? setlocale (LocaleCategory category = GLib.LocaleCategory.ALL,
string? locale = "");
[CCode (cname = "bindtextdomain", cheader_filename = "glib/gi18n-lib.h")]
public static unowned string? bindtextdomain (string domainname, string? dirname);
[CCode (cname = "textdomain", cheader_filename = "glib/gi18n-lib.h")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]