[vala/mjog/864-gettext] glib-2.0: Bind gettext()



commit afc1e14131226d18621e16a9d54df8d85ad39cf3
Author: Michael Gratton <mike vee net>
Date:   Wed Oct 9 10:12:32 2019 +1100

    glib-2.0: Bind gettext()
    
    Fixes #864

 vapi/glib-2.0.vapi | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 7409a6333..d5229327d 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -5448,6 +5448,8 @@ namespace GLib {
        [Version (since = "2.18")]
        [CCode (cname = "NC_", cheader_filename = "glib.h,glib/gi18n-lib.h")]
        public static unowned string NC_ (string context, [FormatArg] string str);
+       [CCode (cname = "gettext", cheader_filename = "glib/gi18n-lib.h")]
+       public static unowned string gettext ([FormatArg] string str);
        [CCode (cname = "ngettext", cheader_filename = "glib.h,glib/gi18n-lib.h")]
        public static unowned string ngettext (string msgid, [FormatArg] string msgid_plural, ulong n);
        [Version (since = "2.18")]


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