Exemplo n.º 1
0
Arquivo: e1.go Projeto: haasn/go-gb
func Atoi(s string) (i int) {
	cs := C.CString(s)
	i = int(C.bar(C.atoi(cs)))
	return
}
Exemplo n.º 2
0
func Atoi(s string) int { return int(C.atoi(C.CString(s))) }