Example #1
0
func GetHandle(name string) *Ihandle {
	cName := C.CString(name)
	defer C.free(unsafe.Pointer(cName))

	return (*Ihandle)(C.IupGetHandle(cName))
}
Example #2
0
func GetHandle(name string) IHandle {
	cname := NewCS(name)
	defer FreeCS(cname)
	return toHandle(C.IupGetHandle(cname))
}