[vala] posix: Fix cname of NLItem
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] posix: Fix cname of NLItem
- Date: Fri, 8 Nov 2013 00:49:39 +0000 (UTC)
commit 7c371598d60cadf7e93695c77f5e949598a66a5c
Author: Philip Withnall <philip tecnocode co uk>
Date: Sun Sep 29 15:35:07 2013 +0100
posix: Fix cname of NLItem
This fixes the C type of variables of Vala type NLItem.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=685039
vapi/posix.vapi | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 2e2c751..cd10cf6 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]