From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [patch] mem_node shrink Date: Wed, 21 Nov 2007 22:42:05 -0500 Message-ID: References: <474168CE.5020502@yandex.ru> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195702948 12336 80.91.229.12 (22 Nov 2007 03:42:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Nov 2007 03:42:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 22 04:42:34 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iv2xR-0004He-7s for ged-emacs-devel@m.gmane.org; Thu, 22 Nov 2007 04:42:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iv2xC-0003Ig-VF for ged-emacs-devel@m.gmane.org; Wed, 21 Nov 2007 22:42:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iv2x8-0003Hp-KI for emacs-devel@gnu.org; Wed, 21 Nov 2007 22:42:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iv2x5-0003GS-0p for emacs-devel@gnu.org; Wed, 21 Nov 2007 22:42:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iv2x4-0003GP-Rx for emacs-devel@gnu.org; Wed, 21 Nov 2007 22:42:06 -0500 Original-Received: from tomts40.bellnexxia.net ([209.226.175.97] helo=tomts40-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iv2x4-00076F-HC for emacs-devel@gnu.org; Wed, 21 Nov 2007 22:42:06 -0500 Original-Received: from ceviche.home ([74.12.207.44]) by tomts40-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20071122034205.LJKD1617.tomts40-srv.bellnexxia.net@ceviche.home> for ; Wed, 21 Nov 2007 22:42:05 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 7A2C6B42DF; Wed, 21 Nov 2007 22:42:05 -0500 (EST) In-Reply-To: <474168CE.5020502@yandex.ru> (Dmitry Antipov's message of "Mon, 19 Nov 2007 13:43:26 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83834 Archived-At: > - enum {MEM_BLACK, MEM_RED} color; > + unsigned color : 1; > - /* Memory type. */ > - enum mem_type type; > + /* Memory type. The width of this bitfield should be > + enough to hold all values of enum mem_type. */ > + unsigned type : 3; > }; Any reason you don't use enum {MEM_BLACK, MEM_RED} color : 1; enum mem_type type : 3; -- Stefan