diff options
| author | Stefan Monnier | 2004-02-19 20:25:17 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-02-19 20:25:17 +0000 |
| commit | b15aa9f9e878c384909910b247da7dc2b3bcc65b (patch) | |
| tree | ee8f00fa98e604852b0cf161efebfe7b0ddbe4cc /src | |
| parent | 507c5deb1e04694ed6c7393c54ebbacafc1062cd (diff) | |
| download | emacs-b15aa9f9e878c384909910b247da7dc2b3bcc65b.tar.gz emacs-b15aa9f9e878c384909910b247da7dc2b3bcc65b.zip | |
(union Lisp_Object): Give a more precise type for `type'.
Remove unused `gu' alternative.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 13 | ||||
| -rw-r--r-- | src/lisp.h | 18 |
2 files changed, 13 insertions, 18 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 9d2a88c1dfe..508da2fe482 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-02-19 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * lisp.h (union Lisp_Object): Give a more precise type for `type'. | ||
| 4 | Remove unused `gu' alternative. | ||
| 5 | |||
| 1 | 2004-02-19 Andreas Schwab <schwab@suse.de> | 6 | 2004-02-19 Andreas Schwab <schwab@suse.de> |
| 2 | 7 | ||
| 3 | * fringe.c (Fdefine_fringe_bitmap): Use && instead of & to avoid | 8 | * fringe.c (Fdefine_fringe_bitmap): Use && instead of & to avoid |
| @@ -49,9 +54,9 @@ | |||
| 49 | 54 | ||
| 50 | 2004-02-15 Stefan Monnier <monnier@iro.umontreal.ca> | 55 | 2004-02-15 Stefan Monnier <monnier@iro.umontreal.ca> |
| 51 | 56 | ||
| 52 | * data.c (Fbyteorder): | 57 | * data.c (Fbyteorder): |
| 53 | * fringe.c (Fdefine_fringe_bitmap): | 58 | * fringe.c (Fdefine_fringe_bitmap): |
| 54 | * xdisp.c (handle_single_display_prop): | 59 | * xdisp.c (handle_single_display_prop): |
| 55 | * xselect.c (x_handle_dnd_message): Lisp_Object/int mixup. | 60 | * xselect.c (x_handle_dnd_message): Lisp_Object/int mixup. |
| 56 | 61 | ||
| 57 | 2004-02-16 Jason Rumney <jasonr@gnu.org> | 62 | 2004-02-16 Jason Rumney <jasonr@gnu.org> |
| @@ -64,7 +69,7 @@ | |||
| 64 | controlling emulation of a three button mouse with option and | 69 | controlling emulation of a three button mouse with option and |
| 65 | command keys. | 70 | command keys. |
| 66 | (Qreverse, mac_get_enumlated_btn): Handle the emulation | 71 | (Qreverse, mac_get_enumlated_btn): Handle the emulation |
| 67 | (mac_event_to_emacs_modifiers, XTread_socket): Ditto | 72 | (mac_event_to_emacs_modifiers, XTread_socket): Ditto. |
| 68 | 73 | ||
| 69 | 2004-02-15 Kim F. Storm <storm@cua.dk> | 74 | 2004-02-15 Kim F. Storm <storm@cua.dk> |
| 70 | 75 | ||
diff --git a/src/lisp.h b/src/lisp.h index 6137182847f..c9eb714be18 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -178,18 +178,13 @@ union Lisp_Object | |||
| 178 | struct | 178 | struct |
| 179 | { | 179 | { |
| 180 | EMACS_INT val : VALBITS; | 180 | EMACS_INT val : VALBITS; |
| 181 | EMACS_UINT type : GCTYPEBITS; | 181 | enum Lisp_Type type : GCTYPEBITS; |
| 182 | } s; | 182 | } s; |
| 183 | struct | 183 | struct |
| 184 | { | 184 | { |
| 185 | EMACS_UINT val : VALBITS; | 185 | EMACS_UINT val : VALBITS; |
| 186 | EMACS_UINT type : GCTYPEBITS; | 186 | enum Lisp_Type type : GCTYPEBITS; |
| 187 | } u; | 187 | } u; |
| 188 | struct | ||
| 189 | { | ||
| 190 | EMACS_UINT val : VALBITS; | ||
| 191 | enum Lisp_Type type : GCTYPEBITS; | ||
| 192 | } gu; | ||
| 193 | } | 188 | } |
| 194 | Lisp_Object; | 189 | Lisp_Object; |
| 195 | 190 | ||
| @@ -204,19 +199,14 @@ union Lisp_Object | |||
| 204 | 199 | ||
| 205 | struct | 200 | struct |
| 206 | { | 201 | { |
| 207 | EMACS_UINT type : GCTYPEBITS; | 202 | enum Lisp_Type type : GCTYPEBITS; |
| 208 | EMACS_INT val : VALBITS; | 203 | EMACS_INT val : VALBITS; |
| 209 | } s; | 204 | } s; |
| 210 | struct | 205 | struct |
| 211 | { | 206 | { |
| 212 | EMACS_UINT type : GCTYPEBITS; | 207 | enum Lisp_Type type : GCTYPEBITS; |
| 213 | EMACS_UINT val : VALBITS; | 208 | EMACS_UINT val : VALBITS; |
| 214 | } u; | 209 | } u; |
| 215 | struct | ||
| 216 | { | ||
| 217 | enum Lisp_Type type : GCTYPEBITS; | ||
| 218 | EMACS_UINT val : VALBITS; | ||
| 219 | } gu; | ||
| 220 | } | 210 | } |
| 221 | Lisp_Object; | 211 | Lisp_Object; |
| 222 | 212 | ||