From ded0746744335c0b03ead2495cbbf0d1824bb391 Mon Sep 17 00:00:00 2001 From: xushiwei Date: Thu, 1 Oct 2026 01:32:53 +0800 Subject: [PATCH] c: long double --- c/bdwgc/bdwgc.go | 2 +- c/bitcast/bitcast.go | 2 +- c/c.go | 2 +- c/cjson/cjson.go | 2 +- c/ctypes_32bit.go | 2 +- c/ctypes_unix64.go | 2 +- c/ctypes_wasm.go | 2 +- c/ctypes_windows.go | 2 +- c/ldobule_float64.go | 32 ++++++++++++++++++++++++ c/libuv/async.go | 2 +- c/llama2/llama2.go | 2 +- c/math/cmplx/complex.go | 2 +- c/math/math.go | 2 +- c/math/rand/rand.go | 2 +- c/math/rand/rand_default.go | 2 +- c/math/rand/rand_windows.go | 2 +- c/math/rand/rand_windows_llgo_test.go | 2 +- c/net/addrinfo_windows.go | 2 +- c/net/functions_windows.go | 2 +- c/net/net.go | 2 +- c/net/net_windows.go | 2 +- c/net/net_windows_llgo_test.go | 2 +- c/net/net_windows_test.go | 2 +- c/openssl/bio.go | 2 +- c/openssl/bn.go | 2 +- c/openssl/err.go | 2 +- c/openssl/md5.go | 2 +- c/openssl/openssl.go | 2 +- c/openssl/pem.go | 2 +- c/openssl/rand.go | 2 +- c/openssl/rsa.go | 2 +- c/openssl/sha1.go | 2 +- c/openssl/sha256.go | 2 +- c/openssl/sha512.go | 2 +- c/os/flags_default.go | 2 +- c/os/functions_default.go | 2 +- c/os/os.go | 2 +- c/os/os_darwin.go | 2 +- c/os/os_nonwasm.go | 2 +- c/os/os_other.go | 2 +- c/os/os_windows.go | 2 +- c/os/os_windows_llgo_test.go | 2 +- c/os/stat_windows.go | 2 +- c/pthread/pthread.go | 2 +- c/pthread/pthread_gc.go | 2 +- c/pthread/pthread_nogc.go | 2 +- c/pthread/sync/_sema.go | 2 +- c/pthread/sync/sync.go | 2 +- c/raylib/raylib.go | 2 +- c/raylib/shape.go | 2 +- c/raylib/utils.go | 2 +- c/setjmp/setjmp.go | 2 +- c/setjmp/setjmp_windows.go | 2 +- c/setjmp/setjmp_windows_llgo_test.go | 2 +- c/setjmp/trycatch/demo.go | 2 +- c/sqlite/sqlite.go | 2 +- c/stdio_darwin.go | 2 +- c/stdio_default.go | 2 +- c/stdio_windows.go | 2 +- c/stdio_windows_llgo_test.go | 2 +- c/sync/atomic/atomic.go | 2 +- c/syscall/syscall.go | 2 +- c/syscall/syscall_windows.go | 2 +- c/syscall/unix/unix.go | 2 +- c/time/ctime_llgo_test.go | 2 +- c/time/time.go | 2 +- c/time/time_windows.go | 2 +- c/time/time_windows_llgo_test.go | 2 +- c/zlib/zlib.go | 2 +- cpp/inih/inih.go | 2 +- cpp/inih/reader.go | 2 +- cpp/llvm/_wrap/demangle_windows.cpp | 2 +- cpp/llvm/_wrap/demangle_windows_test.cpp | 2 +- cpp/llvm/config_default.go | 2 +- cpp/llvm/config_windows.go | 2 +- cpp/llvm/demangle.go | 2 +- cpp/llvm/demangle_llgo_test.go | 2 +- cpp/llvm/demangle_types.go | 2 +- cpp/llvm/demangle_windows.go | 2 +- cpp/llvm/llvm.go | 2 +- cpp/std/config_default.go | 2 +- cpp/std/config_windows.go | 2 +- cpp/std/std.go | 2 +- cpp/std/std_gc.go | 2 +- cpp/std/std_nogc.go | 2 +- cpp/std/string.go | 2 +- cpp/std/string_llgo_test.go | 2 +- cpp/std/string_type_default.go | 2 +- cpp/std/string_type_windows.go | 2 +- py/arg.go | 2 +- py/bytes.go | 2 +- py/call.go | 2 +- py/code.go | 2 +- py/dict.go | 2 +- py/exceptions.go | 2 +- py/float.go | 2 +- py/func.go | 2 +- py/list.go | 2 +- py/long.go | 2 +- py/math/math.go | 2 +- py/matplotlib/pyplot/pyplot.go | 2 +- py/module.go | 2 +- py/numpy/numpy.go | 2 +- py/object.go | 2 +- py/os/os.go | 2 +- py/pandas/pandas.go | 2 +- py/python.go | 2 +- py/set.go | 2 +- py/std/builtins.go | 2 +- py/tuple.go | 2 +- py/type.go | 2 +- py/unicode.go | 2 +- x/io/io.go | 2 +- 113 files changed, 144 insertions(+), 112 deletions(-) create mode 100644 c/ldobule_float64.go diff --git a/c/bdwgc/bdwgc.go b/c/bdwgc/bdwgc.go index 5d90607c..f7b8f50e 100644 --- a/c/bdwgc/bdwgc.go +++ b/c/bdwgc/bdwgc.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/bitcast/bitcast.go b/c/bitcast/bitcast.go index f988fa90..dd8b3b18 100644 --- a/c/bitcast/bitcast.go +++ b/c/bitcast/bitcast.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/c.go b/c/c.go index 73612551..dd99c524 100644 --- a/c/c.go +++ b/c/c.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/cjson/cjson.go b/c/cjson/cjson.go index 09380b2e..91449dc1 100644 --- a/c/cjson/cjson.go +++ b/c/cjson/cjson.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/ctypes_32bit.go b/c/ctypes_32bit.go index 4b4335b7..7d64ca5f 100644 --- a/c/ctypes_32bit.go +++ b/c/ctypes_32bit.go @@ -3,7 +3,7 @@ // +build 386 arm mips mipsle /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/ctypes_unix64.go b/c/ctypes_unix64.go index 1cbbd578..26b4139c 100644 --- a/c/ctypes_unix64.go +++ b/c/ctypes_unix64.go @@ -3,7 +3,7 @@ // +build amd64 arm64 ppc64 ppc64le mips64 mips64le s390x riscv64 /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/ctypes_wasm.go b/c/ctypes_wasm.go index 1c243746..9b68f43a 100644 --- a/c/ctypes_wasm.go +++ b/c/ctypes_wasm.go @@ -2,7 +2,7 @@ // +build wasip1 js /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/ctypes_windows.go b/c/ctypes_windows.go index 19fb0dcc..1ca0749f 100644 --- a/c/ctypes_windows.go +++ b/c/ctypes_windows.go @@ -2,7 +2,7 @@ // +build windows /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/ldobule_float64.go b/c/ldobule_float64.go new file mode 100644 index 00000000..903fe47c --- /dev/null +++ b/c/ldobule_float64.go @@ -0,0 +1,32 @@ +//go:build (windows && !(mingw && (amd64 || 386))) || (darwin && arm64) || arm || mips || mipsle || ((ppc64 || ppc64le) && !linux) + +/* + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package c + +// LongDouble is identical to double on these targets (8 bytes, IEEE binary64): +// - Windows MSVC ABI (all architectures), and windows/arm64 (MSVC or MinGW) +// - darwin/arm64 and ios/arm64 +// - 32-bit ARM, MIPS o32 +// - non-Linux ppc64 (AIX, FreeBSD, OpenBSD: 64-bit long double) +// +// Build with -tags mingw to select the MinGW x86 layout on windows/amd64 +// and windows/386 instead. +type LongDouble float64 + +// LongDoubleSize is sizeof(long double) in bytes on this target. +const LongDoubleSize = 8 diff --git a/c/libuv/async.go b/c/libuv/async.go index eec557c9..2da54845 100644 --- a/c/libuv/async.go +++ b/c/libuv/async.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/llama2/llama2.go b/c/llama2/llama2.go index e3c52c15..2e969dac 100644 --- a/c/llama2/llama2.go +++ b/c/llama2/llama2.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/math/cmplx/complex.go b/c/math/cmplx/complex.go index bae82a19..d2881878 100644 --- a/c/math/cmplx/complex.go +++ b/c/math/cmplx/complex.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/math/math.go b/c/math/math.go index d225caba..df5ff888 100644 --- a/c/math/math.go +++ b/c/math/math.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/math/rand/rand.go b/c/math/rand/rand.go index c9c0d7e8..5b1b0820 100644 --- a/c/math/rand/rand.go +++ b/c/math/rand/rand.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/math/rand/rand_default.go b/c/math/rand/rand_default.go index 063582f5..3d334df4 100644 --- a/c/math/rand/rand_default.go +++ b/c/math/rand/rand_default.go @@ -1,6 +1,6 @@ //go:build !windows -// Copyright (c) 2026 The GoPlus Authors. Licensed under the Apache License 2.0. +// Copyright (c) 2026 The XGo Authors. Licensed under the Apache License 2.0. package rand diff --git a/c/math/rand/rand_windows.go b/c/math/rand/rand_windows.go index a405de1b..98575ad4 100644 --- a/c/math/rand/rand_windows.go +++ b/c/math/rand/rand_windows.go @@ -1,6 +1,6 @@ //go:build windows -// Copyright (c) 2026 The GoPlus Authors. Licensed under the Apache License 2.0. +// Copyright (c) 2026 The XGo Authors. Licensed under the Apache License 2.0. package rand diff --git a/c/math/rand/rand_windows_llgo_test.go b/c/math/rand/rand_windows_llgo_test.go index 21640663..a1650c11 100644 --- a/c/math/rand/rand_windows_llgo_test.go +++ b/c/math/rand/rand_windows_llgo_test.go @@ -1,6 +1,6 @@ //go:build llgo && windows -// Copyright (c) 2026 The GoPlus Authors. Licensed under the Apache License 2.0. +// Copyright (c) 2026 The XGo Authors. Licensed under the Apache License 2.0. package rand_test diff --git a/c/net/addrinfo_windows.go b/c/net/addrinfo_windows.go index 5546405f..726033a9 100644 --- a/c/net/addrinfo_windows.go +++ b/c/net/addrinfo_windows.go @@ -1,6 +1,6 @@ //go:build windows -// Copyright (c) 2026 The GoPlus Authors. Licensed under the Apache License 2.0. +// Copyright (c) 2026 The XGo Authors. Licensed under the Apache License 2.0. package net diff --git a/c/net/functions_windows.go b/c/net/functions_windows.go index 54e2d7a5..8f770b54 100644 --- a/c/net/functions_windows.go +++ b/c/net/functions_windows.go @@ -1,6 +1,6 @@ //go:build windows -// Copyright (c) 2026 The GoPlus Authors. Licensed under the Apache License 2.0. +// Copyright (c) 2026 The XGo Authors. Licensed under the Apache License 2.0. package net diff --git a/c/net/net.go b/c/net/net.go index aa621154..db106144 100644 --- a/c/net/net.go +++ b/c/net/net.go @@ -1,7 +1,7 @@ //go:build !windows /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/net/net_windows.go b/c/net/net_windows.go index c6b6fcca..0a750ea4 100644 --- a/c/net/net_windows.go +++ b/c/net/net_windows.go @@ -1,7 +1,7 @@ //go:build windows /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/net/net_windows_llgo_test.go b/c/net/net_windows_llgo_test.go index 192bfc36..d4185238 100644 --- a/c/net/net_windows_llgo_test.go +++ b/c/net/net_windows_llgo_test.go @@ -1,6 +1,6 @@ //go:build llgo && windows -// Copyright (c) 2026 The GoPlus Authors. Licensed under the Apache License 2.0. +// Copyright (c) 2026 The XGo Authors. Licensed under the Apache License 2.0. package net_test diff --git a/c/net/net_windows_test.go b/c/net/net_windows_test.go index 32acc353..4552a920 100644 --- a/c/net/net_windows_test.go +++ b/c/net/net_windows_test.go @@ -1,6 +1,6 @@ //go:build windows -// Copyright (c) 2026 The GoPlus Authors. Licensed under the Apache License 2.0. +// Copyright (c) 2026 The XGo Authors. Licensed under the Apache License 2.0. package net diff --git a/c/openssl/bio.go b/c/openssl/bio.go index 20507f40..ec0ea724 100644 --- a/c/openssl/bio.go +++ b/c/openssl/bio.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/openssl/bn.go b/c/openssl/bn.go index a49397eb..07edb771 100644 --- a/c/openssl/bn.go +++ b/c/openssl/bn.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/openssl/err.go b/c/openssl/err.go index ba6615a8..be0816f9 100644 --- a/c/openssl/err.go +++ b/c/openssl/err.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/openssl/md5.go b/c/openssl/md5.go index b0ed96fc..c0c70a54 100644 --- a/c/openssl/md5.go +++ b/c/openssl/md5.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/openssl/openssl.go b/c/openssl/openssl.go index 9d5efd22..0aa0635b 100644 --- a/c/openssl/openssl.go +++ b/c/openssl/openssl.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/openssl/pem.go b/c/openssl/pem.go index f2b45224..eb1f01fe 100644 --- a/c/openssl/pem.go +++ b/c/openssl/pem.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/openssl/rand.go b/c/openssl/rand.go index 420ab8b2..60ea89fc 100644 --- a/c/openssl/rand.go +++ b/c/openssl/rand.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/openssl/rsa.go b/c/openssl/rsa.go index 5c4084a9..2254c824 100644 --- a/c/openssl/rsa.go +++ b/c/openssl/rsa.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/openssl/sha1.go b/c/openssl/sha1.go index efe8e6b6..874c42ef 100644 --- a/c/openssl/sha1.go +++ b/c/openssl/sha1.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/openssl/sha256.go b/c/openssl/sha256.go index 72803d37..783b935a 100644 --- a/c/openssl/sha256.go +++ b/c/openssl/sha256.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/openssl/sha512.go b/c/openssl/sha512.go index 41bdfa39..a32c4203 100644 --- a/c/openssl/sha512.go +++ b/c/openssl/sha512.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/os/flags_default.go b/c/os/flags_default.go index e4e55097..f119efdb 100644 --- a/c/os/flags_default.go +++ b/c/os/flags_default.go @@ -1,7 +1,7 @@ //go:build !windows /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/c/os/functions_default.go b/c/os/functions_default.go index edf08e26..1efcb374 100644 --- a/c/os/functions_default.go +++ b/c/os/functions_default.go @@ -1,7 +1,7 @@ //go:build !windows /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/c/os/os.go b/c/os/os.go index 8f44c61f..00ba8353 100644 --- a/c/os/os.go +++ b/c/os/os.go @@ -1,7 +1,7 @@ //go:build !windows /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/os/os_darwin.go b/c/os/os_darwin.go index 3b703862..b9ca31ea 100644 --- a/c/os/os_darwin.go +++ b/c/os/os_darwin.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/os/os_nonwasm.go b/c/os/os_nonwasm.go index 486c29e5..c1a73693 100644 --- a/c/os/os_nonwasm.go +++ b/c/os/os_nonwasm.go @@ -1,7 +1,7 @@ //go:build !wasm && !windows /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/os/os_other.go b/c/os/os_other.go index df53a728..8d74712e 100644 --- a/c/os/os_other.go +++ b/c/os/os_other.go @@ -1,7 +1,7 @@ //go:build !darwin && !windows /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/os/os_windows.go b/c/os/os_windows.go index 1682baa1..05da30a8 100644 --- a/c/os/os_windows.go +++ b/c/os/os_windows.go @@ -1,7 +1,7 @@ //go:build windows /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/c/os/os_windows_llgo_test.go b/c/os/os_windows_llgo_test.go index 37fdb97d..1908eb60 100644 --- a/c/os/os_windows_llgo_test.go +++ b/c/os/os_windows_llgo_test.go @@ -1,6 +1,6 @@ //go:build llgo && windows -// Copyright (c) 2026 The GoPlus Authors. Licensed under the Apache License 2.0. +// Copyright (c) 2026 The XGo Authors. Licensed under the Apache License 2.0. package os_test diff --git a/c/os/stat_windows.go b/c/os/stat_windows.go index 79d71119..dbe925f7 100644 --- a/c/os/stat_windows.go +++ b/c/os/stat_windows.go @@ -1,7 +1,7 @@ //go:build windows /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/c/pthread/pthread.go b/c/pthread/pthread.go index 2d25ed77..f8a20312 100644 --- a/c/pthread/pthread.go +++ b/c/pthread/pthread.go @@ -1,7 +1,7 @@ //go:build !windows /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/pthread/pthread_gc.go b/c/pthread/pthread_gc.go index e1c8c119..97f9e89b 100644 --- a/c/pthread/pthread_gc.go +++ b/c/pthread/pthread_gc.go @@ -2,7 +2,7 @@ // +build !nogc,!windows /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/pthread/pthread_nogc.go b/c/pthread/pthread_nogc.go index 95d4f91d..42e23d0e 100644 --- a/c/pthread/pthread_nogc.go +++ b/c/pthread/pthread_nogc.go @@ -2,7 +2,7 @@ // +build nogc,!windows /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/pthread/sync/_sema.go b/c/pthread/sync/_sema.go index d56732af..7fab318f 100644 --- a/c/pthread/sync/_sema.go +++ b/c/pthread/sync/_sema.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/pthread/sync/sync.go b/c/pthread/sync/sync.go index 1e471849..069ad000 100644 --- a/c/pthread/sync/sync.go +++ b/c/pthread/sync/sync.go @@ -1,7 +1,7 @@ //go:build !windows /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/raylib/raylib.go b/c/raylib/raylib.go index 302fec8c..ea611cc6 100644 --- a/c/raylib/raylib.go +++ b/c/raylib/raylib.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/raylib/shape.go b/c/raylib/shape.go index 3b4b4164..52e698b1 100644 --- a/c/raylib/shape.go +++ b/c/raylib/shape.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/raylib/utils.go b/c/raylib/utils.go index 0afdac2b..b1a8b5d5 100644 --- a/c/raylib/utils.go +++ b/c/raylib/utils.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/setjmp/setjmp.go b/c/setjmp/setjmp.go index ef609762..95abaaf3 100644 --- a/c/setjmp/setjmp.go +++ b/c/setjmp/setjmp.go @@ -1,7 +1,7 @@ //go:build !windows /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/setjmp/setjmp_windows.go b/c/setjmp/setjmp_windows.go index 6a07e42a..076b151b 100644 --- a/c/setjmp/setjmp_windows.go +++ b/c/setjmp/setjmp_windows.go @@ -1,7 +1,7 @@ //go:build windows /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/c/setjmp/setjmp_windows_llgo_test.go b/c/setjmp/setjmp_windows_llgo_test.go index d9306967..b100210d 100644 --- a/c/setjmp/setjmp_windows_llgo_test.go +++ b/c/setjmp/setjmp_windows_llgo_test.go @@ -1,6 +1,6 @@ //go:build llgo && windows -// Copyright (c) 2026 The GoPlus Authors. Licensed under the Apache License 2.0. +// Copyright (c) 2026 The XGo Authors. Licensed under the Apache License 2.0. package setjmp_test diff --git a/c/setjmp/trycatch/demo.go b/c/setjmp/trycatch/demo.go index 79ae2ce1..7c2dd247 100644 --- a/c/setjmp/trycatch/demo.go +++ b/c/setjmp/trycatch/demo.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/sqlite/sqlite.go b/c/sqlite/sqlite.go index a5def6b5..4f49326b 100644 --- a/c/sqlite/sqlite.go +++ b/c/sqlite/sqlite.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/stdio_darwin.go b/c/stdio_darwin.go index 0a4f58ae..b44ad8ed 100644 --- a/c/stdio_darwin.go +++ b/c/stdio_darwin.go @@ -2,7 +2,7 @@ // +build darwin /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/stdio_default.go b/c/stdio_default.go index d2889d98..269be693 100644 --- a/c/stdio_default.go +++ b/c/stdio_default.go @@ -2,7 +2,7 @@ // +build !darwin,!windows /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/stdio_windows.go b/c/stdio_windows.go index ab02a630..442bffbd 100644 --- a/c/stdio_windows.go +++ b/c/stdio_windows.go @@ -2,7 +2,7 @@ // +build windows /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/stdio_windows_llgo_test.go b/c/stdio_windows_llgo_test.go index 5632cbc5..33777790 100644 --- a/c/stdio_windows_llgo_test.go +++ b/c/stdio_windows_llgo_test.go @@ -1,6 +1,6 @@ //go:build llgo && windows -// Copyright (c) 2026 The GoPlus Authors. Licensed under the Apache License 2.0. +// Copyright (c) 2026 The XGo Authors. Licensed under the Apache License 2.0. package c_test diff --git a/c/sync/atomic/atomic.go b/c/sync/atomic/atomic.go index 395de99c..eb5394cf 100644 --- a/c/sync/atomic/atomic.go +++ b/c/sync/atomic/atomic.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/syscall/syscall.go b/c/syscall/syscall.go index 86d7a037..2340c22e 100644 --- a/c/syscall/syscall.go +++ b/c/syscall/syscall.go @@ -1,7 +1,7 @@ //go:build !windows /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/syscall/syscall_windows.go b/c/syscall/syscall_windows.go index 379f10d5..84f65b8e 100644 --- a/c/syscall/syscall_windows.go +++ b/c/syscall/syscall_windows.go @@ -1,7 +1,7 @@ //go:build windows /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/syscall/unix/unix.go b/c/syscall/unix/unix.go index 94f92ffc..dabb70ff 100644 --- a/c/syscall/unix/unix.go +++ b/c/syscall/unix/unix.go @@ -1,7 +1,7 @@ //go:build !windows /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/time/ctime_llgo_test.go b/c/time/ctime_llgo_test.go index d021f5b2..28179168 100644 --- a/c/time/ctime_llgo_test.go +++ b/c/time/ctime_llgo_test.go @@ -1,6 +1,6 @@ //go:build llgo && !windows -// Copyright (c) 2026 The GoPlus Authors. Licensed under the Apache License 2.0. +// Copyright (c) 2026 The XGo Authors. Licensed under the Apache License 2.0. package time_test diff --git a/c/time/time.go b/c/time/time.go index 5784e555..e49088fa 100644 --- a/c/time/time.go +++ b/c/time/time.go @@ -1,7 +1,7 @@ //go:build !windows /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/time/time_windows.go b/c/time/time_windows.go index 8b08920d..243a5528 100644 --- a/c/time/time_windows.go +++ b/c/time/time_windows.go @@ -1,7 +1,7 @@ //go:build windows /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/c/time/time_windows_llgo_test.go b/c/time/time_windows_llgo_test.go index 9e78d1bf..224c68a5 100644 --- a/c/time/time_windows_llgo_test.go +++ b/c/time/time_windows_llgo_test.go @@ -1,6 +1,6 @@ //go:build llgo && windows -// Copyright (c) 2026 The GoPlus Authors. Licensed under the Apache License 2.0. +// Copyright (c) 2026 The XGo Authors. Licensed under the Apache License 2.0. package time_test diff --git a/c/zlib/zlib.go b/c/zlib/zlib.go index fb8034ad..936f28dd 100644 --- a/c/zlib/zlib.go +++ b/c/zlib/zlib.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/inih/inih.go b/cpp/inih/inih.go index 4a3e3895..78bda7c6 100644 --- a/cpp/inih/inih.go +++ b/cpp/inih/inih.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/inih/reader.go b/cpp/inih/reader.go index 1857bdf2..9c30121c 100644 --- a/cpp/inih/reader.go +++ b/cpp/inih/reader.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/llvm/_wrap/demangle_windows.cpp b/cpp/llvm/_wrap/demangle_windows.cpp index 11c0e4c7..27ec7dbe 100644 --- a/cpp/llvm/_wrap/demangle_windows.cpp +++ b/cpp/llvm/_wrap/demangle_windows.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/llvm/_wrap/demangle_windows_test.cpp b/cpp/llvm/_wrap/demangle_windows_test.cpp index f422b4b6..d7bf1191 100644 --- a/cpp/llvm/_wrap/demangle_windows_test.cpp +++ b/cpp/llvm/_wrap/demangle_windows_test.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/llvm/config_default.go b/cpp/llvm/config_default.go index acec137d..23f4687d 100644 --- a/cpp/llvm/config_default.go +++ b/cpp/llvm/config_default.go @@ -1,7 +1,7 @@ //go:build !windows /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/llvm/config_windows.go b/cpp/llvm/config_windows.go index 69a171d0..3537b9b2 100644 --- a/cpp/llvm/config_windows.go +++ b/cpp/llvm/config_windows.go @@ -1,7 +1,7 @@ //go:build windows /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/llvm/demangle.go b/cpp/llvm/demangle.go index 1e399101..f37c5e73 100644 --- a/cpp/llvm/demangle.go +++ b/cpp/llvm/demangle.go @@ -1,7 +1,7 @@ //go:build !windows /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/llvm/demangle_llgo_test.go b/cpp/llvm/demangle_llgo_test.go index ae6fe3c2..ea721425 100644 --- a/cpp/llvm/demangle_llgo_test.go +++ b/cpp/llvm/demangle_llgo_test.go @@ -1,7 +1,7 @@ //go:build llgo /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/llvm/demangle_types.go b/cpp/llvm/demangle_types.go index c74ac184..10c07b63 100644 --- a/cpp/llvm/demangle_types.go +++ b/cpp/llvm/demangle_types.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/llvm/demangle_windows.go b/cpp/llvm/demangle_windows.go index ebbd51e9..5a535d70 100644 --- a/cpp/llvm/demangle_windows.go +++ b/cpp/llvm/demangle_windows.go @@ -1,7 +1,7 @@ //go:build windows /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/llvm/llvm.go b/cpp/llvm/llvm.go index 100a1259..73288591 100644 --- a/cpp/llvm/llvm.go +++ b/cpp/llvm/llvm.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/std/config_default.go b/cpp/std/config_default.go index dfcffd9a..e313b73b 100644 --- a/cpp/std/config_default.go +++ b/cpp/std/config_default.go @@ -1,7 +1,7 @@ //go:build !windows /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/std/config_windows.go b/cpp/std/config_windows.go index 174953b6..a4e48e81 100644 --- a/cpp/std/config_windows.go +++ b/cpp/std/config_windows.go @@ -1,7 +1,7 @@ //go:build windows /* - * Copyright (c) 2026 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2026 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/std/std.go b/cpp/std/std.go index 0f9a46ba..4020cd5e 100644 --- a/cpp/std/std.go +++ b/cpp/std/std.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/std/std_gc.go b/cpp/std/std_gc.go index a4721de2..cf8ed562 100644 --- a/cpp/std/std_gc.go +++ b/cpp/std/std_gc.go @@ -2,7 +2,7 @@ // +build !nogc /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/std/std_nogc.go b/cpp/std/std_nogc.go index 5c4bace8..2934bdab 100644 --- a/cpp/std/std_nogc.go +++ b/cpp/std/std_nogc.go @@ -2,7 +2,7 @@ // +build nogc /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/std/string.go b/cpp/std/string.go index 9a67e0bb..07dee7e1 100644 --- a/cpp/std/string.go +++ b/cpp/std/string.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cpp/std/string_llgo_test.go b/cpp/std/string_llgo_test.go index c2f7d1dc..add91913 100644 --- a/cpp/std/string_llgo_test.go +++ b/cpp/std/string_llgo_test.go @@ -1,6 +1,6 @@ //go:build llgo -// Copyright (c) 2026 The GoPlus Authors. Licensed under the Apache License 2.0. +// Copyright (c) 2026 The XGo Authors. Licensed under the Apache License 2.0. package std_test diff --git a/cpp/std/string_type_default.go b/cpp/std/string_type_default.go index 0959b2ac..c844fba3 100644 --- a/cpp/std/string_type_default.go +++ b/cpp/std/string_type_default.go @@ -1,6 +1,6 @@ //go:build !windows -// Copyright (c) 2026 The GoPlus Authors. Licensed under the Apache License 2.0. +// Copyright (c) 2026 The XGo Authors. Licensed under the Apache License 2.0. package std diff --git a/cpp/std/string_type_windows.go b/cpp/std/string_type_windows.go index 37ce44f5..39f62fe9 100644 --- a/cpp/std/string_type_windows.go +++ b/cpp/std/string_type_windows.go @@ -1,6 +1,6 @@ //go:build windows -// Copyright (c) 2026 The GoPlus Authors. Licensed under the Apache License 2.0. +// Copyright (c) 2026 The XGo Authors. Licensed under the Apache License 2.0. package std diff --git a/py/arg.go b/py/arg.go index c8cc8a32..ea172217 100644 --- a/py/arg.go +++ b/py/arg.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/bytes.go b/py/bytes.go index 3a907c94..3375b8f7 100644 --- a/py/bytes.go +++ b/py/bytes.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/call.go b/py/call.go index 859e1a84..35ebda4c 100644 --- a/py/call.go +++ b/py/call.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/code.go b/py/code.go index 1e0468c6..8b90ecc8 100644 --- a/py/code.go +++ b/py/code.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/dict.go b/py/dict.go index 4a837e61..99bcd8c7 100644 --- a/py/dict.go +++ b/py/dict.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/exceptions.go b/py/exceptions.go index cd9da49d..1052b094 100644 --- a/py/exceptions.go +++ b/py/exceptions.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/float.go b/py/float.go index 1cfa7a38..a46d414d 100644 --- a/py/float.go +++ b/py/float.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/func.go b/py/func.go index 8d1dc6b9..0f4ce4e8 100644 --- a/py/func.go +++ b/py/func.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/list.go b/py/list.go index 17ad2868..cd2ade82 100644 --- a/py/list.go +++ b/py/list.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/long.go b/py/long.go index df0706ad..3c1a2e61 100644 --- a/py/long.go +++ b/py/long.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/math/math.go b/py/math/math.go index af77bef3..6ac67a83 100644 --- a/py/math/math.go +++ b/py/math/math.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/matplotlib/pyplot/pyplot.go b/py/matplotlib/pyplot/pyplot.go index 44e1442f..9163bbad 100644 --- a/py/matplotlib/pyplot/pyplot.go +++ b/py/matplotlib/pyplot/pyplot.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/module.go b/py/module.go index fef925b0..e7006a62 100644 --- a/py/module.go +++ b/py/module.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/numpy/numpy.go b/py/numpy/numpy.go index e7271633..d528a0c3 100644 --- a/py/numpy/numpy.go +++ b/py/numpy/numpy.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/object.go b/py/object.go index 6991d836..396f1be2 100644 --- a/py/object.go +++ b/py/object.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/os/os.go b/py/os/os.go index aa385557..36a9837e 100644 --- a/py/os/os.go +++ b/py/os/os.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/pandas/pandas.go b/py/pandas/pandas.go index 4653d8c6..36023e36 100644 --- a/py/pandas/pandas.go +++ b/py/pandas/pandas.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/python.go b/py/python.go index 233dd5b4..198fae5f 100644 --- a/py/python.go +++ b/py/python.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/set.go b/py/set.go index f0f50909..99c08a48 100644 --- a/py/set.go +++ b/py/set.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/std/builtins.go b/py/std/builtins.go index b36a5393..5f65d5e6 100644 --- a/py/std/builtins.go +++ b/py/std/builtins.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/tuple.go b/py/tuple.go index d94b00f4..783b9744 100644 --- a/py/tuple.go +++ b/py/tuple.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/type.go b/py/type.go index 9697806d..7a5e9785 100644 --- a/py/type.go +++ b/py/type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/py/unicode.go b/py/unicode.go index f8f3d02f..d2e01c54 100644 --- a/py/unicode.go +++ b/py/unicode.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/x/io/io.go b/x/io/io.go index f4b4c18b..37443bde 100644 --- a/x/io/io.go +++ b/x/io/io.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. + * Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.