neco: fix

This commit is contained in:
Kindy Lin
2024-07-17 22:41:35 +08:00
parent a0ee11c300
commit c0d7ff9543
7 changed files with 133 additions and 60 deletions

19
c/neco/_demo/cgen/cgen.go Normal file
View File

@@ -0,0 +1,19 @@
package main
import (
_ "unsafe"
_ "github.com/goplus/llgo/c"
)
const (
LLGoFiles = "_c/gen.c; ../../_wrap/neco.c"
LLGoPackage = "link"
)
func main() {
runMain()
}
//go:linkname runMain C.run_main
func runMain() {}