test: simple llgo tests

This commit is contained in:
Li Jie
2024-06-06 20:54:32 +08:00
parent 6049cf9047
commit 91e1fa6aff
6 changed files with 204 additions and 5 deletions

3
c/c.go
View File

@@ -160,3 +160,6 @@ func GetoptLong(argc Int, argv **Char, optstring *Char, longopts *Option, longin
func GetoptLongOnly(argc Int, argv **Char, optstring *Char, longopts *Option, longindex *Int) Int
// -----------------------------------------------------------------------------
//go:linkname Atoi C.atoi
func Atoi(s *Char) Int