chore: ⬆️ updated deps

This commit is contained in:
2026-05-20 22:52:20 +02:00
parent d9f27c1775
commit 43f4680176
374 changed files with 295527 additions and 301467 deletions
+15 -2
View File
@@ -6,11 +6,13 @@ package libc // import "modernc.org/libc"
import (
"golang.org/x/sys/windows"
"modernc.org/libc/errno"
"modernc.org/libc/sys/types"
"math"
"os"
"strings"
"unsafe"
"modernc.org/libc/errno"
"modernc.org/libc/sys/types"
)
// int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact);
@@ -627,3 +629,14 @@ func Xstrspn(tls *TLS, s uintptr, c uintptr) size_t { /* strspn.c:6:8: */
}
return size_t((int64(s) - int64(a)) / 1)
}
func Xstrtod(t *TLS, s uintptr, p uintptr) float64 {
if __ccgo_strace {
trc("tls=%v s=%v p=%v, (%v:)", t, s, p, origin(2))
}
_, r2, err := procStrtod.Call(uintptr(s), uintptr(p))
if err != windows.NOERROR {
t.setErrno(err)
}
return math.Float64frombits(uint64(r2))
}