locale

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LC_ADDRESS                = 9      // locale.h:44:1:
	LC_ADDRESS_MASK           = 512    // locale.h:156:1:
	LC_ALL                    = 6      // locale.h:41:1:
	LC_ALL_MASK               = 8127   // locale.h:160:1:
	LC_COLLATE                = 3      // locale.h:38:1:
	LC_COLLATE_MASK           = 8      // locale.h:151:1:
	LC_CTYPE                  = 0      // locale.h:35:1:
	LC_CTYPE_MASK             = 1      // locale.h:148:1:
	LC_IDENTIFICATION         = 12     // locale.h:47:1:
	LC_IDENTIFICATION_MASK    = 4096   // locale.h:159:1:
	LC_MEASUREMENT            = 11     // locale.h:46:1:
	LC_MEASUREMENT_MASK       = 2048   // locale.h:158:1:
	LC_MESSAGES               = 5      // locale.h:40:1:
	LC_MESSAGES_MASK          = 32     // locale.h:153:1:
	LC_MONETARY               = 4      // locale.h:39:1:
	LC_MONETARY_MASK          = 16     // locale.h:152:1:
	LC_NAME                   = 8      // locale.h:43:1:
	LC_NAME_MASK              = 256    // locale.h:155:1:
	LC_NUMERIC                = 1      // locale.h:36:1:
	LC_NUMERIC_MASK           = 2      // locale.h:149:1:
	LC_PAPER                  = 7      // locale.h:42:1:
	LC_PAPER_MASK             = 128    // locale.h:154:1:
	LC_TELEPHONE              = 10     // locale.h:45:1:
	LC_TELEPHONE_MASK         = 1024   // locale.h:157:1:
	LC_TIME                   = 2      // locale.h:37:1:
	LC_TIME_MASK              = 4      // locale.h:150:1:
	X_ATFILE_SOURCE           = 1      // features.h:342:1:
	X_BITS_LOCALE_H           = 1      // locale.h:24:1:
	X_BITS_TYPES_LOCALE_T_H   = 1      // locale_t.h:20:1:
	X_BITS_TYPES___LOCALE_T_H = 1      // __locale_t.h:21:1:
	X_DEFAULT_SOURCE          = 1      // features.h:227:1:
	X_FEATURES_H              = 1      // features.h:19:1:
	X_FILE_OFFSET_BITS        = 64     // <builtin>:25:1:
	X_LOCALE_H                = 1      // locale.h:23:1:
	X_LP64                    = 1      // <predefined>:284:1:
	X_POSIX_C_SOURCE          = 200809 // features.h:281:1:
	X_POSIX_SOURCE            = 1      // features.h:279:1:
	X_STDC_PREDEF_H           = 1      // <predefined>:162:1:
	X_SYS_CDEFS_H             = 1      // cdefs.h:19:1:
	Linux                     = 1      // <predefined>:231:1:
	Unix                      = 1      // <predefined>:177:1:
)

Variables

View Source
var CAPI = map[string]struct{}{}

Functions

This section is empty.

Types

type Lconv

type Lconv = struct {
	Fdecimal_point      uintptr
	Fthousands_sep      uintptr
	Fgrouping           uintptr
	Fint_curr_symbol    uintptr
	Fcurrency_symbol    uintptr
	Fmon_decimal_point  uintptr
	Fmon_thousands_sep  uintptr
	Fmon_grouping       uintptr
	Fpositive_sign      uintptr
	Fnegative_sign      uintptr
	Fint_frac_digits    int8
	Ffrac_digits        int8
	Fp_cs_precedes      int8
	Fp_sep_by_space     int8
	Fn_cs_precedes      int8
	Fn_sep_by_space     int8
	Fp_sign_posn        int8
	Fn_sign_posn        int8
	Fint_p_cs_precedes  int8
	Fint_p_sep_by_space int8
	Fint_n_cs_precedes  int8
	Fint_n_sep_by_space int8
	Fint_p_sign_posn    int8
	Fint_n_sign_posn    int8
	F__ccgo_pad1        [2]byte

} /* locale.h:51:1 */

Structure giving information about numeric and monetary notation.

type Locale_t

type Locale_t = X__locale_t /* locale_t.h:24:20 */

type Ptrdiff_t

type Ptrdiff_t = int64 /* <builtin>:3:26 */

type Size_t

type Size_t = uint64 /* <builtin>:9:23 */

type Wchar_t

type Wchar_t = int32 /* <builtin>:15:24 */

type X__builtin_va_list

type X__builtin_va_list = uintptr /* <builtin>:46:14 */

type X__float128

type X__float128 = float64 /* <builtin>:47:21 */

type X__int128_t

type X__int128_t = struct {
	Flo int64
	Fhi int64

} /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128

type X__locale_struct

type X__locale_struct = struct {
	F__locales       [13]uintptr
	F__ctype_b       uintptr
	F__ctype_tolower uintptr
	F__ctype_toupper uintptr
	F__names         [13]uintptr

} /* __locale_t.h:28:1 */

type X__locale_t

type X__locale_t = uintptr /* __locale_t.h:42:32 */

type X__uint128_t

type X__uint128_t = struct {
	Flo uint64
	Fhi uint64

} /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL