diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/lisp.h | 12 |
2 files changed, 13 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 33649595834..67f281919a9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2008-02-10 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * lisp.h (struct Lisp_Misc_Any, struct Lisp_Marker) | ||
| 4 | (struct Lisp_Overlay, struct Lisp_Kboard_Objfwd) | ||
| 5 | (struct Lisp_Save_Value, struct Lisp_Free): Use enum Lisp_Misc_Type | ||
| 6 | rather than `int' for the type of `type'. | ||
| 7 | |||
| 1 | 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu> | 8 | 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 9 | ||
| 3 | * s/gnu-linux.h: Remove support for non-ELF and linux-1.x. | 10 | * s/gnu-linux.h: Remove support for non-ELF and linux-1.x. |
diff --git a/src/lisp.h b/src/lisp.h index a215abb34ee..30e28b9ebb4 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -1133,14 +1133,14 @@ struct Lisp_Hash_Table | |||
| 1133 | 1133 | ||
| 1134 | struct Lisp_Misc_Any /* Supertype of all Misc types. */ | 1134 | struct Lisp_Misc_Any /* Supertype of all Misc types. */ |
| 1135 | { | 1135 | { |
| 1136 | int type : 16; /* = Lisp_Misc_Marker */ | 1136 | enum Lisp_Misc_Type type : 16; /* = Lisp_Misc_Marker */ |
| 1137 | unsigned gcmarkbit : 1; | 1137 | unsigned gcmarkbit : 1; |
| 1138 | int spacer : 15; | 1138 | int spacer : 15; |
| 1139 | }; | 1139 | }; |
| 1140 | 1140 | ||
| 1141 | struct Lisp_Marker | 1141 | struct Lisp_Marker |
| 1142 | { | 1142 | { |
| 1143 | int type : 16; /* = Lisp_Misc_Marker */ | 1143 | enum Lisp_Misc_Type type : 16; /* = Lisp_Misc_Marker */ |
| 1144 | unsigned gcmarkbit : 1; | 1144 | unsigned gcmarkbit : 1; |
| 1145 | int spacer : 13; | 1145 | int spacer : 13; |
| 1146 | /* This flag is temporarily used in the functions | 1146 | /* This flag is temporarily used in the functions |
| @@ -1292,7 +1292,7 @@ struct Lisp_Buffer_Local_Value | |||
| 1292 | PLIST is the overlay's property list. */ | 1292 | PLIST is the overlay's property list. */ |
| 1293 | struct Lisp_Overlay | 1293 | struct Lisp_Overlay |
| 1294 | { | 1294 | { |
| 1295 | int type : 16; /* = Lisp_Misc_Overlay */ | 1295 | enum Lisp_Misc_Type type : 16; /* = Lisp_Misc_Overlay */ |
| 1296 | unsigned gcmarkbit : 1; | 1296 | unsigned gcmarkbit : 1; |
| 1297 | int spacer : 15; | 1297 | int spacer : 15; |
| 1298 | struct Lisp_Overlay *next; | 1298 | struct Lisp_Overlay *next; |
| @@ -1303,7 +1303,7 @@ struct Lisp_Overlay | |||
| 1303 | current kboard. */ | 1303 | current kboard. */ |
| 1304 | struct Lisp_Kboard_Objfwd | 1304 | struct Lisp_Kboard_Objfwd |
| 1305 | { | 1305 | { |
| 1306 | int type : 16; /* = Lisp_Misc_Kboard_Objfwd */ | 1306 | enum Lisp_Misc_Type type : 16; /* = Lisp_Misc_Kboard_Objfwd */ |
| 1307 | unsigned gcmarkbit : 1; | 1307 | unsigned gcmarkbit : 1; |
| 1308 | int spacer : 15; | 1308 | int spacer : 15; |
| 1309 | int offset; | 1309 | int offset; |
| @@ -1313,7 +1313,7 @@ struct Lisp_Kboard_Objfwd | |||
| 1313 | This type of object is used in the arg to record_unwind_protect. */ | 1313 | This type of object is used in the arg to record_unwind_protect. */ |
| 1314 | struct Lisp_Save_Value | 1314 | struct Lisp_Save_Value |
| 1315 | { | 1315 | { |
| 1316 | int type : 16; /* = Lisp_Misc_Save_Value */ | 1316 | enum Lisp_Misc_Type type : 16; /* = Lisp_Misc_Save_Value */ |
| 1317 | unsigned gcmarkbit : 1; | 1317 | unsigned gcmarkbit : 1; |
| 1318 | int spacer : 14; | 1318 | int spacer : 14; |
| 1319 | /* If DOGC is set, POINTER is the address of a memory | 1319 | /* If DOGC is set, POINTER is the address of a memory |
| @@ -1327,7 +1327,7 @@ struct Lisp_Save_Value | |||
| 1327 | /* A miscellaneous object, when it's on the free list. */ | 1327 | /* A miscellaneous object, when it's on the free list. */ |
| 1328 | struct Lisp_Free | 1328 | struct Lisp_Free |
| 1329 | { | 1329 | { |
| 1330 | int type : 16; /* = Lisp_Misc_Free */ | 1330 | enum Lisp_Misc_Type type : 16; /* = Lisp_Misc_Free */ |
| 1331 | unsigned gcmarkbit : 1; | 1331 | unsigned gcmarkbit : 1; |
| 1332 | int spacer : 15; | 1332 | int spacer : 15; |
| 1333 | union Lisp_Misc *chain; | 1333 | union Lisp_Misc *chain; |