Example #1
0
File: e1.go Project: haasn/go-gb
func Atoi(s string) (i int) {
	cs := C.CString(s)
	i = int(C.bar(C.atoi(cs)))
	return
}
Example #2
0
func Atoi(s string) int { return int(C.atoi(C.CString(s))) }