[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] mem_node shrink
From: |
Stefan Monnier |
Subject: |
Re: [patch] mem_node shrink |
Date: |
Wed, 21 Nov 2007 22:42:05 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
> - 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