]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Fix cname of NLItem
authorPhilip Withnall <philip@tecnocode.co.uk>
Sun, 29 Sep 2013 14:35:07 +0000 (15:35 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 8 Nov 2013 00:49:20 +0000 (00:49 +0000)
This fixes the C type of variables of Vala type NLItem.

Closes: https://bugzilla.gnome.org/show_bug.cgi?id=685039
vapi/posix.vapi

index 2e2c75153cd87bba736290c782f965b1041248f0..cd10cf61520e2fa3d8ce6ca766fcfac674cdcd88 100644 (file)
@@ -2560,7 +2560,7 @@ namespace Posix {
                public int glob (string pattern, int flags = 0, GlobErrorFunction? errfunc = null);
        }
 
-       [CCode (cheader_filename = "langinfo.h", cprefix = "", has_type_id = false)]
+       [CCode (cheader_filename = "langinfo.h", cname = "nl_item", cprefix = "", has_type_id = false)]
        public enum NLItem {
                ABDAY_1,
                ABDAY_2,