[vala] glib-2.0: Add C_ and NC_ bindings



commit a95fbb914d9dc83d177a96fefd3ae5248c71e9f8
Author: JÃrg Billeter <j bitron ch>
Date:   Mon Sep 5 11:59:20 2011 +0200

    glib-2.0: Add C_ and NC_ bindings

 vapi/glib-2.0.vapi |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 6a53d4a..06c82ec 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -4252,6 +4252,10 @@ namespace GLib {
 	public static unowned string Q_ (string str);
 	[CCode (cname = "N_", cheader_filename = "glib.h,glib/gi18n-lib.h")]
 	public static unowned string N_ (string str);
+	[CCode (cname = "C_", cheader_filename = "glib.h,glib/gi18n-lib.h")]
+	public static unowned string C_ (string context, string str);
+	[CCode (cname = "NC_", cheader_filename = "glib.h,glib/gi18n-lib.h")]
+	public static unowned string NC_ (string context, string str);
 	[CCode (cname = "ngettext", cheader_filename = "glib.h,glib/gi18n-lib.h")]
 	public static unowned string ngettext (string msgid, string msgid_plural, ulong n);
 	[CCode (cname = "g_dgettext", cheader_filename = "glib/gi18n-lib.h")]



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