Beispiel #1
0
func MatGetInt(ih *Ihandle, name string, lin int, col int) int64 {
	cName := C.CString(name)
	defer C.free(unsafe.Pointer(cName))

	return int64(C.IupMatGetInt(ih.C(), cName, C.int(lin), C.int(col)))
}
Beispiel #2
0
func (m *IupMatrix) MatGetInt(name string, lin, col int) int {
	cname := NewCS(name)
	defer FreeCS(cname)
	return int(C.IupMatGetInt(toNative(m), cname, C.int(lin), C.int(col)))
}