Update dependencies
This commit is contained in:
99
vendor/modernc.org/libc/musl_windows_amd64.go
generated
vendored
99
vendor/modernc.org/libc/musl_windows_amd64.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo -D__environ=environ -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -nostdinc -nostdlib -o ../musl_windows_amd64.go -pkgname libc -static-locals-prefix _s -Iarch/x86_64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isspace.c src/ctype/isxdigit.c src/env/putenv.c src/env/setenv.c src/env/unsetenv.c src/multibyte/wcrtomb.c src/multibyte/wcsrtombs.c src/multibyte/wcstombs.c src/string/strdup.c src/string/strchrnul.c', DO NOT EDIT.
|
||||
// Code generated by 'ccgo -D__environ=environ -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6 -nostdinc -nostdlib -o ../musl_windows_amd64.go -pkgname libc -static-locals-prefix _s -Iarch/x86_64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/islower.c src/ctype/isprint.c src/ctype/isspace.c src/ctype/isxdigit.c src/env/putenv.c src/env/setenv.c src/env/unsetenv.c src/math/rint.c src/multibyte/wcrtomb.c src/multibyte/wcsrtombs.c src/multibyte/wcstombs.c src/string/strchrnul.c src/string/strdup.c', DO NOT EDIT.
|
||||
|
||||
package libc
|
||||
|
||||
@ -491,30 +491,44 @@ func Xunsetenv(tls *TLS, name uintptr) int32 { /* unsetenv.c:9:5: */
|
||||
return 0
|
||||
}
|
||||
|
||||
type wint_t = uint32 /* alltypes.h:198:18 */
|
||||
// #define LDBL_TRUE_MIN 3.6451995318824746025e-4951L
|
||||
// #define LDBL_MIN 3.3621031431120935063e-4932L
|
||||
// #define LDBL_MAX 1.1897314953572317650e+4932L
|
||||
// #define LDBL_EPSILON 1.0842021724855044340e-19L
|
||||
//
|
||||
// #define LDBL_MANT_DIG 64
|
||||
// #define LDBL_MIN_EXP (-16381)
|
||||
// #define LDBL_MAX_EXP 16384
|
||||
//
|
||||
// #define LDBL_DIG 18
|
||||
// #define LDBL_MIN_10_EXP (-4931)
|
||||
// #define LDBL_MAX_10_EXP 4932
|
||||
//
|
||||
// #define DECIMAL_DIG 21
|
||||
|
||||
type wctype_t = uint32 /* alltypes.h:203:23 */
|
||||
type float_t = float32 /* alltypes.h:29:15 */
|
||||
|
||||
type __mbstate_t = struct {
|
||||
__opaque1 uint32
|
||||
__opaque2 uint32
|
||||
} /* alltypes.h:337:9 */
|
||||
type double_t = float64 /* alltypes.h:34:16 */
|
||||
|
||||
type mbstate_t = __mbstate_t /* alltypes.h:337:63 */
|
||||
func __FLOAT_BITS(tls *TLS, __f float32) uint32 { /* math.h:55:26: */
|
||||
bp := tls.Alloc(4)
|
||||
defer tls.Free(4)
|
||||
|
||||
type tm = struct {
|
||||
tm_sec int32
|
||||
tm_min int32
|
||||
tm_hour int32
|
||||
tm_mday int32
|
||||
tm_mon int32
|
||||
tm_year int32
|
||||
tm_wday int32
|
||||
tm_yday int32
|
||||
tm_isdst int32
|
||||
tm_gmtoff int32
|
||||
tm_zone uintptr
|
||||
} /* wchar.h:138:1 */
|
||||
// var __u struct {__f float32;} at bp, 4
|
||||
|
||||
*(*float32)(unsafe.Pointer(bp /* &__u */)) = __f
|
||||
return *(*uint32)(unsafe.Pointer(bp /* &__u */))
|
||||
}
|
||||
|
||||
func __DOUBLE_BITS(tls *TLS, __f float64) uint64 { /* math.h:61:36: */
|
||||
bp := tls.Alloc(8)
|
||||
defer tls.Free(8)
|
||||
|
||||
// var __u struct {__f float64;} at bp, 8
|
||||
|
||||
*(*float64)(unsafe.Pointer(bp /* &__u */)) = __f
|
||||
return *(*uint64)(unsafe.Pointer(bp /* &__u */))
|
||||
}
|
||||
|
||||
type uintptr_t = uint32 /* alltypes.h:55:24 */
|
||||
|
||||
@ -559,6 +573,31 @@ type int_fast32_t = int32_t /* stdint.h:2:17 */
|
||||
type uint_fast16_t = uint32_t /* stdint.h:3:18 */
|
||||
type uint_fast32_t = uint32_t /* stdint.h:4:18 */
|
||||
|
||||
type wint_t = uint32 /* alltypes.h:198:18 */
|
||||
|
||||
type wctype_t = uint32 /* alltypes.h:203:23 */
|
||||
|
||||
type __mbstate_t = struct {
|
||||
__opaque1 uint32
|
||||
__opaque2 uint32
|
||||
} /* alltypes.h:337:9 */
|
||||
|
||||
type mbstate_t = __mbstate_t /* alltypes.h:337:63 */
|
||||
|
||||
type tm = struct {
|
||||
tm_sec int32
|
||||
tm_min int32
|
||||
tm_hour int32
|
||||
tm_mday int32
|
||||
tm_mon int32
|
||||
tm_year int32
|
||||
tm_wday int32
|
||||
tm_yday int32
|
||||
tm_isdst int32
|
||||
tm_gmtoff int32
|
||||
tm_zone uintptr
|
||||
} /* wchar.h:138:1 */
|
||||
|
||||
// Upper 6 state bits are a negative integer offset to bound-check next byte
|
||||
// equivalent to: ( (b-0x80) | (b+offset) ) & ~0x3f
|
||||
|
||||
@ -1062,15 +1101,6 @@ func Xwcstombs(tls *TLS, s uintptr, ws uintptr, n size_t) size_t { /* wcstombs.c
|
||||
return Xwcsrtombs(tls, s, bp /* &ws */, n, uintptr(0))
|
||||
}
|
||||
|
||||
func Xstrdup(tls *TLS, s uintptr) uintptr { /* strdup.c:4:6: */
|
||||
var l size_t = Xstrlen(tls, s)
|
||||
var d uintptr = Xmalloc(tls, (l + uint64(1)))
|
||||
if !(d != 0) {
|
||||
return uintptr(0)
|
||||
}
|
||||
return Xmemcpy(tls, d, s, (l + uint64(1)))
|
||||
}
|
||||
|
||||
// Support signed or unsigned plain-char
|
||||
|
||||
// Implementation choices...
|
||||
@ -1099,3 +1129,12 @@ func X__strchrnul(tls *TLS, s uintptr, c int32) uintptr { /* strchrnul.c:10:6: *
|
||||
}
|
||||
return s
|
||||
}
|
||||
|
||||
func Xstrdup(tls *TLS, s uintptr) uintptr { /* strdup.c:4:6: */
|
||||
var l size_t = Xstrlen(tls, s)
|
||||
var d uintptr = Xmalloc(tls, (l + uint64(1)))
|
||||
if !(d != 0) {
|
||||
return uintptr(0)
|
||||
}
|
||||
return Xmemcpy(tls, d, s, (l + uint64(1)))
|
||||
}
|
||||
|
Reference in New Issue
Block a user