func (menu *Menu) Format(rows int, cols int) { cRows := C.int(rows) cCols := C.int(cols) C.menu_format((*C.MENU)(menu), &cRows, &cCols) }
func (m *Menu) Format() (int, int) { var crow, ccol C.int C.menu_format(m.menu, &crow, &ccol) return int(crow), int(ccol) }