示例#1
0
func run(fun, arg string) {
	f := C.CString(fun)
	a := C.CString(arg)
	defer C.free(unsafe.Pointer(f))
	defer C.free(unsafe.Pointer(a))
	C.Run(f, a)
}
func main() {
	C.Run()
}
示例#3
0
func (osx *osxSystemObject) Run() {
	C.Run()
}
示例#4
0
func (nfq *NFQueue) run() {
	C.Run(nfq.h, nfq.fd)
}
示例#5
0
func (s *Window) Run() {
	s.run()
	C.Run()
}
示例#6
0
func (this *Application) Run() {
	C.Run(this.ptr)
}