mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 04:16:14 -06:00
Update dependencies (#333)
This commit is contained in:
parent
ce22e03f9d
commit
182b4eea73
848 changed files with 377869 additions and 107280 deletions
29
vendor/modernc.org/libc/musl_windows_386.go
generated
vendored
29
vendor/modernc.org/libc/musl_windows_386.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_386.go -pkgname libc -static-locals-prefix _s -Iarch/i386 -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_386.go -pkgname libc -static-locals-prefix _s -Iarch/i386 -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/strchrnul.c src/string/strdup.c', DO NOT EDIT.
|
||||
|
||||
package libc
|
||||
|
||||
|
|
@ -896,12 +896,15 @@ func a_or_64(tls *TLS, p uintptr, v uint64_t) { /* atomic.h:220:20: */
|
|||
bp := tls.Alloc(8)
|
||||
defer tls.Free(8)
|
||||
|
||||
*(*struct{ v uint64_t })(unsafe.Pointer(bp /* u */)) = struct{ v uint64_t }{v: v}
|
||||
*(*struct{ v uint64_t })(unsafe.Pointer(bp /* u */)) = func() (r struct{ v uint64_t }) {
|
||||
*(*uint64_t)(unsafe.Pointer(uintptr(unsafe.Pointer(&r)) + 0)) = v
|
||||
return r
|
||||
}()
|
||||
if *(*uint32_t)(unsafe.Pointer((bp /* &u */ /* &.r */))) != 0 {
|
||||
a_or(tls, AtomicLoadUintptr(&p), int32(*(*uint32_t)(unsafe.Pointer((bp /* &u */ /* &.r */)))))
|
||||
a_or(tls, p, int32(*(*uint32_t)(unsafe.Pointer((bp /* &u */ /* &.r */)))))
|
||||
}
|
||||
if *(*uint32_t)(unsafe.Pointer((bp /* &u */ /* &.r */) + 1*4)) != 0 {
|
||||
a_or(tls, (AtomicLoadUintptr(&p) + uintptr(1)*4), int32(*(*uint32_t)(unsafe.Pointer((bp /* &u */ /* &.r */) + 1*4))))
|
||||
a_or(tls, (p + uintptr(1)*4), int32(*(*uint32_t)(unsafe.Pointer((bp /* &u */ /* &.r */) + 1*4))))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1036,15 +1039,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 + size_t(1)))
|
||||
if !(d != 0) {
|
||||
return uintptr(0)
|
||||
}
|
||||
return Xmemcpy(tls, d, s, (l + size_t(1)))
|
||||
}
|
||||
|
||||
// Support signed or unsigned plain-char
|
||||
|
||||
// Implementation choices...
|
||||
|
|
@ -1073,3 +1067,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 + size_t(1)))
|
||||
if !(d != 0) {
|
||||
return uintptr(0)
|
||||
}
|
||||
return Xmemcpy(tls, d, s, (l + size_t(1)))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue