From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Dpa7c-0000lJ-FZ for mharc-grub-devel@gnu.org; Mon, 04 Jul 2005 19:13:04 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dpa7Z-0000kA-Ef for grub-devel@gnu.org; Mon, 04 Jul 2005 19:13:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dpa7U-0000iU-PB for grub-devel@gnu.org; Mon, 04 Jul 2005 19:13:00 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dpa7U-0000iR-M2 for grub-devel@gnu.org; Mon, 04 Jul 2005 19:12:56 -0400 Received: from [212.43.237.68] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpaBM-0007pC-DX for grub-devel@gnu.org; Mon, 04 Jul 2005 19:16:56 -0400 Received: from ASSP-nospam (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 45423FA4CD3F for ; Tue, 5 Jul 2005 01:10:51 +0200 (CEST) Received: from 127.0.0.1 ([127.0.0.1] helo=ip6-localhost) by ASSP-nospam ; 4 Jul 05 23:10:50 -0000 From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Tue, 5 Jul 2005 01:10:42 +0200 User-Agent: KMail/1.7.2 References: <42C84FF8.8020102@yahoo.fr> <42C94B8A.2070709@yahoo.fr> In-Reply-To: <42C94B8A.2070709@yahoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507050110.43155.okuji@enbug.org> Subject: Re: [Bulk] [PATCH] Small unicode problem fix in normal/menu.c X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2005 23:13:02 -0000 On Monday 04 July 2005 16:45, Vincent Pelletier wrote: > ncurses-like (not macros !) : > > void grub_getyx (unsigned int &y, unsigned int &x) > void grub_getmaxyx (unsigned int &y, unsigned int &x) /* to get the term > size */ My feeling is that it is not convenient to use pointers. For example, when I just want to know if the position is 0 or not in the x axis, I can do this in the current API: if (grub_getxy () >> 8) But if I need to use a pointer, this becomes: unsigned x; grub_getyx (0, &x); if (x) Well, this might be just a preference. Okuji