1
0
Fork 0
golang-modernc-libc/locale/locale_netbsd_arm.go
Daniel Baumann 32b8eb3fd7
Adding upstream version 1.65.7.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-19 21:29:57 +02:00

173 lines
6.6 KiB
Go

// Code generated by 'ccgo locale/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o locale/locale_netbsd_arm.go -pkgname locale', DO NOT EDIT.
package locale
import (
"math"
"reflect"
"sync/atomic"
"unsafe"
)
var _ = math.Pi
var _ reflect.Kind
var _ atomic.Value
var _ unsafe.Pointer
const (
LC_ALL = 0 // locale.h:68:1:
LC_COLLATE = 1 // locale.h:69:1:
LC_CTYPE = 2 // locale.h:70:1:
LC_MESSAGES = 6 // locale.h:74:1:
LC_MONETARY = 3 // locale.h:71:1:
LC_NUMERIC = 4 // locale.h:72:1:
LC_TIME = 5 // locale.h:73:1:
X_ARM_ARCH_4T = 0 // cdefs.h:44:1:
X_ARM_ARCH_5 = 0 // cdefs.h:40:1:
X_ARM_ARCH_5T = 0 // cdefs.h:36:1:
X_ARM_ARCH_6 = 0 // cdefs.h:31:1:
X_ARM_ARCH_7 = 0 // cdefs.h:20:1:
X_ARM_ARCH_DWORD_OK = 0 // cdefs.h:51:1:
X_ARM_ARCH_T2 = 0 // cdefs.h:24:1:
X_ARM_CDEFS_H_ = 0 // cdefs.h:4:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_LC_LAST = 7 // locale.h:76:1:
X_LOCALE_H_ = 0 // locale.h:35:1:
X_NETBSD_SOURCE = 1 // featuretest.h:70:1:
X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
X_SYS_NULL_H_ = 0 // null.h:9:1:
)
type Ptrdiff_t = int32 /* <builtin>:3:26 */
type Size_t = uint32 /* <builtin>:9:23 */
type Wchar_t = int32 /* <builtin>:15:24 */
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__float128 = float64 /* <builtin>:47:21 */
// $NetBSD: locale.h,v 1.28 2016/04/29 16:26:48 joerg Exp $
// Copyright (c) 1991, 1993
// The Regents of the University of California. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// 2. Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
// 3. Neither the name of the University nor the names of its contributors
// may be used to endorse or promote products derived from this software
// without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// @(#)locale.h 8.1 (Berkeley) 6/2/93
// $NetBSD: featuretest.h,v 1.10 2013/04/26 18:29:06 christos Exp $
// Written by Klaus Klein <kleink@NetBSD.org>, February 2, 1998.
// Public domain.
//
// NOTE: Do not protect this header against multiple inclusion. Doing
// so can have subtle side-effects due to header file inclusion order
// and testing of e.g. _POSIX_SOURCE vs. _POSIX_C_SOURCE. Instead,
// protect each CPP macro that we want to supply.
// Feature-test macros are defined by several standards, and allow an
// application to specify what symbols they want the system headers to
// expose, and hence what standard they want them to conform to.
// There are two classes of feature-test macros. The first class
// specify complete standards, and if one of these is defined, header
// files will try to conform to the relevant standard. They are:
//
// ANSI macros:
// _ANSI_SOURCE ANSI C89
//
// POSIX macros:
// _POSIX_SOURCE == 1 IEEE Std 1003.1 (version?)
// _POSIX_C_SOURCE == 1 IEEE Std 1003.1-1990
// _POSIX_C_SOURCE == 2 IEEE Std 1003.2-1992
// _POSIX_C_SOURCE == 199309L IEEE Std 1003.1b-1993
// _POSIX_C_SOURCE == 199506L ISO/IEC 9945-1:1996
// _POSIX_C_SOURCE == 200112L IEEE Std 1003.1-2001
// _POSIX_C_SOURCE == 200809L IEEE Std 1003.1-2008
//
// X/Open macros:
// _XOPEN_SOURCE System Interfaces and Headers, Issue 4, Ver 2
// _XOPEN_SOURCE_EXTENDED == 1 XSH4.2 UNIX extensions
// _XOPEN_SOURCE == 500 System Interfaces and Headers, Issue 5
// _XOPEN_SOURCE == 520 Networking Services (XNS), Issue 5.2
// _XOPEN_SOURCE == 600 IEEE Std 1003.1-2001, XSI option
// _XOPEN_SOURCE == 700 IEEE Std 1003.1-2008, XSI option
//
// NetBSD macros:
// _NETBSD_SOURCE == 1 Make all NetBSD features available.
//
// If more than one of these "major" feature-test macros is defined,
// then the set of facilities provided (and namespace used) is the
// union of that specified by the relevant standards, and in case of
// conflict, the earlier standard in the above list has precedence (so
// if both _POSIX_C_SOURCE and _NETBSD_SOURCE are defined, the version
// of rename() that's used is the POSIX one). If none of the "major"
// feature-test macros is defined, _NETBSD_SOURCE is assumed.
//
// There are also "minor" feature-test macros, which enable extra
// functionality in addition to some base standard. They should be
// defined along with one of the "major" macros. The "minor" macros
// are:
//
// _REENTRANT
// _ISOC99_SOURCE
// _ISOC11_SOURCE
// _LARGEFILE_SOURCE Large File Support
// <http://ftp.sas.com/standards/large.file/x_open.20Mar96.html>
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 uint8
Ffrac_digits uint8
Fp_cs_precedes uint8
Fp_sep_by_space uint8
Fn_cs_precedes uint8
Fn_sep_by_space uint8
Fp_sign_posn uint8
Fn_sign_posn uint8
Fint_p_cs_precedes uint8
Fint_n_cs_precedes uint8
Fint_p_sep_by_space uint8
Fint_n_sep_by_space uint8
Fint_p_sign_posn uint8
Fint_n_sign_posn uint8
F__ccgo_pad1 [2]byte
} /* locale.h:39:1 */
// return true if value 'a' fits in type 't'
type Locale_t = uintptr /* locale.h:83:25 */
var _ uint8 /* gen.c:2:13: */