Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cl/_testc/bitfield/out.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package foo

import (
"github.com/goplus/lib/c"
"github.com/qiniu/x/bitfield"
"github.com/goplus/lib/c/bitfield"
"unsafe"
)

Expand Down
2 changes: 1 addition & 1 deletion cl/bitfield.go
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ func pushBoolToUint64(ctx *pkgCtx, cb *gogen.CodeBuilder) {
}

func (p *pkgCtx) bitfieldRef(name string) types.Object {
return p.pkg.Import("github.com/qiniu/x/bitfield").Ref(name)
return p.pkg.Import("github.com/goplus/lib/c/bitfield").Ref(name)
}

// bitDocComment builds a doc-only comment group holding a single "// text" line
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.27.0 // llgo 1.0

require (
github.com/goplus/gogen v1.26.0
github.com/goplus/lib v0.5.12
github.com/goplus/lib v0.6.1
github.com/goplus/mod v0.22.1
github.com/llarhub/clang-c v0.9.0
github.com/qiniu/x v1.19.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github.com/goplus/gogen v1.26.0 h1:A0s5CyFrOKuBy1NaN6apnxNmOoxciYbI81eBzyfYdjg=
github.com/goplus/gogen v1.26.0/go.mod h1:Y7ulYW3wonQ3d9er00b0uGFEV/IUZa6okWJZh892ACQ=
github.com/goplus/lib v0.5.12 h1:LZ31xPTvuchVI1lqsKlCRHJIzqSFhXDjWTA1pLoaWb0=
github.com/goplus/lib v0.5.12/go.mod h1:Ucw7fZlTqrcuHgUvZHP8Oce6IwxULgASlzJxLt8E4p8=
github.com/goplus/lib v0.6.1 h1:OrHX3lBRsK3u5Vh045bkPvCoYHXhLmEqPCINHT6qA6Y=
github.com/goplus/lib v0.6.1/go.mod h1:0krESx2ZyKMlgNp3oUMob++WJYR5a1PpubjSmMjnP0c=
github.com/goplus/mod v0.22.1 h1:3GQZqKlcQAiMpRUDAHvFryGYie+mT0JMjguEqOtIjkE=
github.com/goplus/mod v0.22.1/go.mod h1:APrczG2FtFcQelU4vTq9xw+GrVs4sPPKnRfGidWBlXY=
github.com/llarhub/clang-c v0.9.0 h1:aBSsL43vVUM1y8V3Su8IHlUy91vxmJJP4rkDg/tc+Bo=
Expand Down
2 changes: 1 addition & 1 deletion tool/_testc/clang-c-22.1.8/Index.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tool/_testc/clang-c-22.1.8/Index/out.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"clang/CXString"
"clang/cstdlib"
"github.com/goplus/lib/c"
"github.com/qiniu/x/bitfield"
"github.com/goplus/lib/c/bitfield"
"unsafe"
)

Expand Down
4 changes: 1 addition & 3 deletions tool/_testc/clang-c-22.1.8/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@ module clang

go 1.23

require github.com/goplus/lib v0.5.11

require github.com/qiniu/x v1.19.1 // indirect
require github.com/goplus/lib v0.6.1
6 changes: 2 additions & 4 deletions tool/_testc/clang-c-22.1.8/go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
github.com/goplus/lib v0.5.11 h1:1KZ6pLcc4Ef6EZVk4A/LtKIi1/zQ4g9f+TEdHkdpfhg=
github.com/goplus/lib v0.5.11/go.mod h1:t4Cgs4QYbPzpI1RnYRA0iXWTgUFUuE09TrE2PvuU0VM=
github.com/qiniu/x v1.19.1 h1:Z6ZALlHMrZw/AImYjYnYKMXemasVdUF2o7riwm9TZTs=
github.com/qiniu/x v1.19.1/go.mod h1:Sx3Wy+0GI9OsX4a53mYj6A0o7mHJ94PUvraqGYb4EIs=
github.com/goplus/lib v0.6.1 h1:OrHX3lBRsK3u5Vh045bkPvCoYHXhLmEqPCINHT6qA6Y=
github.com/goplus/lib v0.6.1/go.mod h1:0krESx2ZyKMlgNp3oUMob++WJYR5a1PpubjSmMjnP0c=
4 changes: 1 addition & 3 deletions tool/_testc/python-3.14.8/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@ module github.com/llarhub/py/c

go 1.23

require github.com/goplus/lib v0.5.11

require github.com/qiniu/x v1.19.1 // indirect
require github.com/goplus/lib v0.6.1
6 changes: 2 additions & 4 deletions tool/_testc/python-3.14.8/go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
github.com/goplus/lib v0.5.11 h1:1KZ6pLcc4Ef6EZVk4A/LtKIi1/zQ4g9f+TEdHkdpfhg=
github.com/goplus/lib v0.5.11/go.mod h1:t4Cgs4QYbPzpI1RnYRA0iXWTgUFUuE09TrE2PvuU0VM=
github.com/qiniu/x v1.19.1 h1:Z6ZALlHMrZw/AImYjYnYKMXemasVdUF2o7riwm9TZTs=
github.com/qiniu/x v1.19.1/go.mod h1:Sx3Wy+0GI9OsX4a53mYj6A0o7mHJ94PUvraqGYb4EIs=
github.com/goplus/lib v0.6.1 h1:OrHX3lBRsK3u5Vh045bkPvCoYHXhLmEqPCINHT6qA6Y=
github.com/goplus/lib v0.6.1/go.mod h1:0krESx2ZyKMlgNp3oUMob++WJYR5a1PpubjSmMjnP0c=
4 changes: 1 addition & 3 deletions tool/_testcpp/llvm-22.1.8-support/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ module llvm
go 1.23

require (
github.com/goplus/lib v0.5.11
github.com/goplus/lib v0.6.1
github.com/llarhub/libcxx v0.1.1
github.com/llarhub/llvm-c v0.2.0
)

require github.com/qiniu/x v1.19.1 // indirect
6 changes: 2 additions & 4 deletions tool/_testcpp/llvm-22.1.8-support/go.sum
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
github.com/goplus/lib v0.5.11 h1:1KZ6pLcc4Ef6EZVk4A/LtKIi1/zQ4g9f+TEdHkdpfhg=
github.com/goplus/lib v0.5.11/go.mod h1:t4Cgs4QYbPzpI1RnYRA0iXWTgUFUuE09TrE2PvuU0VM=
github.com/goplus/lib v0.6.1 h1:OrHX3lBRsK3u5Vh045bkPvCoYHXhLmEqPCINHT6qA6Y=
github.com/goplus/lib v0.6.1/go.mod h1:0krESx2ZyKMlgNp3oUMob++WJYR5a1PpubjSmMjnP0c=
github.com/llarhub/libcxx v0.1.1 h1:pq/qd3sgtDsima+rrgwOEHYGd/YnyePe6p86rHFD+Xs=
github.com/llarhub/libcxx v0.1.1/go.mod h1:5ANUOJMknbqPXhwxbXnLLA8NbHHyfYWUVQNCPiz04f8=
github.com/llarhub/llvm-c v0.2.0 h1:KXSm+1A9AjyxOcVTtZnlgvWDaWwBySMR27xSouaOaGg=
github.com/llarhub/llvm-c v0.2.0/go.mod h1:5Z6A6u+TghfHdA82zNAhYZHlUkzra7YdUJWc8q3IoJ4=
github.com/qiniu/x v1.19.1 h1:Z6ZALlHMrZw/AImYjYnYKMXemasVdUF2o7riwm9TZTs=
github.com/qiniu/x v1.19.1/go.mod h1:Sx3Wy+0GI9OsX4a53mYj6A0o7mHJ94PUvraqGYb4EIs=
Loading