build: support multiple link files in a package
This commit is contained in:
5
c/c.go
5
c/c.go
@@ -71,6 +71,11 @@ func GoStringData(string) *Char
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
//go:linkname Remove C.remove
|
||||
func Remove(path *Char) Int
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
//go:linkname Exit C.exit
|
||||
func Exit(Int)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user