fix(deps): update module github.com/shirou/gopsutil/v4 to v4.25.9

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2025-10-01 03:30:56 +00:00
committed by GitHub
parent 3747e3db3f
commit 3b509022cd
63 changed files with 11415 additions and 6170 deletions

View File

@@ -1,7 +1,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: 2022 The Ebitengine Authors
//go:build darwin || freebsd || linux || windows
//go:build darwin || freebsd || linux || netbsd || windows
package purego
@@ -13,8 +13,8 @@ package purego
type CDecl struct{}
const (
maxArgs = 15
numOfFloats = 8 // arm64 and amd64 both have 8 float registers
maxArgs = 15
numOfFloatRegisters = 8 // arm64 and amd64 both have 8 float registers
)
type syscall15Args struct {
@@ -27,6 +27,9 @@ type syscall15Args struct {
// There is an internal maximum number of arguments that SyscallN can take. It panics
// when the maximum is exceeded. It returns the result and the libc error code if there is one.
//
// In order to call this function properly make sure to follow all the rules specified in [unsafe.Pointer]
// especially point 4.
//
// NOTE: SyscallN does not properly call functions that have both integer and float parameters.
// See discussion comment https://github.com/ebiten/purego/pull/1#issuecomment-1128057607
// for an explanation of why that is.