func Msg(m []string) { l := C.int(len(m)) argv := C.newCArray(l) for i, v := range m { C.setCArray(argv, C.int(i), C.CString(v)) } defer C.freeCArray(argv, l) C.msg(l, argv) }
func Msg() string { r := C.GoString(C.msg()) return r }