func MatSetAttribute(ih *Ihandle, name string, lin int, col int, value unsafe.Pointer) { cName := C.CString(name) defer C.free(unsafe.Pointer(cName)) C.IupMatSetAttribute(ih.C(), cName, C.int(lin), C.int(col), (*C.char)(value)) }
func (m *IupMatrix) MatSetAttributeData(name string, lin, col int, ptr uintptr) { cname := NewCS(name) defer FreeCS(cname) C.IupMatSetAttribute(toNative(m), cname, C.int(lin), C.int(col), (*C.char)(unsafe.Pointer(ptr))) }