Skip to content

Commit

Permalink
chore:update gogen
Browse files Browse the repository at this point in the history
  • Loading branch information
luoliwoshang committed Nov 8, 2024
1 parent 8d12cbc commit 2fba545
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions chore/gogensig/convert/convert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,13 +341,13 @@ void testUint(u_int8_t a, u_int16_t b, u_int32_t c, u_int64_t d);
`package skip
import (
stdint6 "github.com/goplus/llgo/chore/gogensig/convert/testdata/stdint"
"github.com/goplus/llgo/chore/gogensig/convert/testdata/stdint"
_ "unsafe"
)
//go:linkname TestInt C.testInt
func TestInt(a stdint6.Int8_t, b stdint6.Int16_t, c stdint6.Int32_t, d stdint6.Int64_t)
func TestInt(a stdint.Int8_t, b stdint.Int16_t, c stdint.Int32_t, d stdint.Int64_t)
//go:linkname TestUint C.testUint
func TestUint(a stdint6.U_int8_t, b stdint6.U_int16_t, c stdint6.U_int32_t, d stdint6.U_int64_t)
func TestUint(a stdint.U_int8_t, b stdint.U_int16_t, c stdint.U_int32_t, d stdint.U_int64_t)
`, func(t *testing.T, pkg *convert.Package) {
files, err := os.ReadDir(pkg.GetOutputDir())
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module github.com/goplus/llgo
go 1.20

require (
github.com/goplus/gogen v1.16.1
github.com/google/go-cmp v0.6.0
github.com/goplus/gogen v1.16.2-0.20241108035448-d74175784239
github.com/goplus/llvm v0.8.0
github.com/goplus/mod v0.13.12
github.com/qiniu/x v1.13.10
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/goplus/gogen v1.16.1 h1:f55LIfyTO5GcXxCfwXKqLKiQV3AORvn9PSGCncWvB1A=
github.com/goplus/gogen v1.16.1/go.mod h1:6TQYbabXDF9LCdDkOOzHmfg1R4ENfXQ3XpHa9RhTSD8=
github.com/goplus/gogen v1.16.2-0.20241108035448-d74175784239 h1:HgYK+9NZike5RrOEUdSgtO7PE6j+XtbCitb4rppVWFw=
github.com/goplus/gogen v1.16.2-0.20241108035448-d74175784239/go.mod h1:6TQYbabXDF9LCdDkOOzHmfg1R4ENfXQ3XpHa9RhTSD8=
github.com/goplus/llvm v0.8.0 h1:9eFutGm3d0G7bAd8/e+Tuyva0tu1IPNPm0kVG4AgHwY=
github.com/goplus/llvm v0.8.0/go.mod h1:PeVK8GgzxwAYCiMiUAJb5wJR6xbhj989tu9oulKLLT4=
github.com/goplus/mod v0.13.12 h1:Trwk6j3i9VvBuW6/9ZxmkoFlEL2v3HKQu0Na1c6DAdw=
Expand Down

0 comments on commit 2fba545

Please sign in to comment.