update outdated github.com/goplus/llgo/c references
This commit is contained in:
@@ -2,7 +2,4 @@ module github.com/goplus/llgo/runtime
|
||||
|
||||
go 1.20
|
||||
|
||||
require (
|
||||
github.com/goplus/llgo v0.10.1
|
||||
github.com/qiniu/x v1.13.12
|
||||
)
|
||||
require github.com/qiniu/x v1.13.12
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
github.com/goplus/llgo v0.10.1 h1:Cla7Rv6S67SnAknMm8nNvHhxFf9Fo/daHRcs3w3rS6s=
|
||||
github.com/goplus/llgo v0.10.1/go.mod h1:YfOHsT/g3lc9b4GclLj812YzdSsJr0kd3CCB830TqHE=
|
||||
github.com/qiniu/x v1.13.12 h1:UyAwja6dgKUOYWZMzzc02wLodwnZ7wmK/0XzRd0e78g=
|
||||
github.com/qiniu/x v1.13.12/go.mod h1:INZ2TSWSJVWO/RuELQROERcslBwVgFG7MkTfEdaQz9E=
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/goplus/llgo/c"
|
||||
"github.com/goplus/llgo/c/libuv"
|
||||
"github.com/goplus/lib/c"
|
||||
"github.com/goplus/lib/c/libuv"
|
||||
)
|
||||
|
||||
func ensure(b bool, msg string) {
|
||||
|
||||
@@ -3,9 +3,9 @@ package main
|
||||
import (
|
||||
"unsafe"
|
||||
|
||||
"github.com/goplus/llgo/c"
|
||||
"github.com/goplus/llgo/c/libuv"
|
||||
"github.com/goplus/llgo/c/os"
|
||||
"github.com/goplus/lib/c"
|
||||
"github.com/goplus/lib/c/libuv"
|
||||
"github.com/goplus/lib/c/os"
|
||||
)
|
||||
|
||||
const BUFFER_SIZE = 1024
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/goplus/llgo/c"
|
||||
"github.com/goplus/llgo/c/libuv"
|
||||
"github.com/goplus/llgo/c/net"
|
||||
"github.com/goplus/lib/c"
|
||||
"github.com/goplus/lib/c/libuv"
|
||||
"github.com/goplus/lib/c/net"
|
||||
)
|
||||
|
||||
var DEFAULT_PORT c.Int = 8080
|
||||
|
||||
5
runtime/internal/clite/libuv/_demo/go.mod
Normal file
5
runtime/internal/clite/libuv/_demo/go.mod
Normal file
@@ -0,0 +1,5 @@
|
||||
module github.com/goplus/llgo/runtime/internal/clite/libuv/_demo
|
||||
|
||||
go 1.24.2
|
||||
|
||||
require github.com/goplus/lib v0.2.0
|
||||
2
runtime/internal/clite/libuv/_demo/go.sum
Normal file
2
runtime/internal/clite/libuv/_demo/go.sum
Normal file
@@ -0,0 +1,2 @@
|
||||
github.com/goplus/lib v0.2.0 h1:AjqkN1XK5H23wZMMlpaUYAMCDAdSBQ2NMFrLtSh7W4g=
|
||||
github.com/goplus/lib v0.2.0/go.mod h1:SgJv3oPqLLHCu0gcL46ejOP3x7/2ry2Jtxu7ta32kp0=
|
||||
@@ -10,8 +10,6 @@ import "C"
|
||||
import (
|
||||
"runtime"
|
||||
"unsafe"
|
||||
|
||||
_ "github.com/goplus/llgo/c"
|
||||
)
|
||||
|
||||
var mode C.mode_t
|
||||
|
||||
Reference in New Issue
Block a user