summaryrefslogtreecommitdiff
path: root/vapi/LConv.vapi
blob: 779ffd0f81dc4c5b6b1c8a50233da62d8f0f5304 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* Copyright 2016 Software Freedom Conservancy Inc.
 *
 * This software is licensed under the GNU LGPL (version 2.1 or later).
 * See the COPYING file in this distribution.
 */
namespace GLib {
    [Compact]
    [CCode (cheader_filename = "locale.h", cname = "struct lconv")]
    public class LConv {
      public string decimal_point;
      public string thousands_sep;
      public string grouping;

      public string int_curr_symbol;
      public string currency_symbol;
      public string mon_decimal_point;
      public string mon_thousands_sep;
      public string mon_grouping;
      public string positive_sign;
      public string negative_sign;
      public char int_frac_digits;
      public char frac_digits;

      public char p_cs_precedes;
      public char p_sep_by_space;
      public char n_cs_precedes;
      public char n_sep_by_space;

      public char p_sign_posn;
      public char n_sign_posn;

      public char int_p_cs_precedes;
      public char int_p_sep_by_space;
      public char int_n_cs_precedes;
      public char int_n_sep_by_space;
      public char int_p_sign_posn;
      public char int_n_sign_posn;
    }
	
    namespace Intl {
        [CCode (cname = "localeconv", cheader_filename = "locale.h")]
        public static unowned LConv localeconv();
    }
}