[vala/db8c411392f89cf8fc0268d4819f15755d0c4137: 8/9] WIP posix: Document and update NLItem



commit a4305c128960e3cd75ec1caa5de2f69c2321f32c
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Sep 15 14:56:43 2017 +0200

    WIP posix: Document and update NLItem

 vapi/posix.vapi |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 3472112..5110db4 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -2667,8 +2667,14 @@ namespace Posix {
                public int glob (string pattern, int flags = 0, GlobErrorFunction? errfunc = null);
        }
 
+       /**
+        * Enumeration of locale items that can be queried with `nl_langinfo'.
+        */
        [CCode (cheader_filename = "langinfo.h", cname = "nl_item", cprefix = "", has_type_id = false)]
        public enum NLItem {
+               /* LC_TIME category: date and time formatting.  */
+
+               /* Abbreviated days of the week. */
                ABDAY_1,
                ABDAY_2,
                ABDAY_3,
@@ -2676,6 +2682,7 @@ namespace Posix {
                ABDAY_5,
                ABDAY_6,
                ABDAY_7,
+               /* Long-named days of the week. */
                DAY_1,
                DAY_2,
                DAY_3,
@@ -2683,6 +2690,7 @@ namespace Posix {
                DAY_5,
                DAY_6,
                DAY_7,
+               /* Abbreviated month names.  */
                ABMON_1,
                ABMON_2,
                ABMON_3,
@@ -2695,6 +2703,7 @@ namespace Posix {
                ABMON_10,
                ABMON_11,
                ABMON_12,
+               /* Long month names.  */
                MON_1,
                MON_2,
                MON_3,


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