comparison src/lisp.h @ 1429:969b7290edca

[xemacs-hg @ 2003-04-24 05:33:43 by youngs] 2003-04-24 Matthew O. Persico <persicom@acedsl.com> * unicode.c: Removed trailing commas in some enums; older (Solaris 2.7 cc) compiler produced volumous warnings. * text.c: Replaced char initialization of static Ibyte strcasecmp_charmap[] with octal numeric init. Apparently older (Solaris 2.7 cc) compiler treats quoted octals as signed, causing 256 signed-assigned-to-unsigned warnings. * lrecord.h: Removed trailing commas in some enums; older (Solaris 2.7 cc) compiler produced volumous warnings. * lisp.h: Removed trailing commas in some enums; older (Solaris 2.7 cc) compiler produced volumous warnings. * frame.c: Removed trailing commas in some enums; older (Solaris 2.7 cc) compiler produced volumous warnings. * file-coding.h: Removed trailing commas in some enums; older (Solaris 2.7 cc) compiler produced volumous warnings.
author youngs
date Thu, 24 Apr 2003 05:33:44 +0000
parents 01c57eb70ae9
children d9d4999d5f5c
comparison
equal deleted inserted replaced
1428:10738b72057d 1429:969b7290edca
185 #elif SIZEOF_SHORT == 4 185 #elif SIZEOF_SHORT == 4
186 /* And again. */ 186 /* And again. */
187 #define INT_32_BIT short 187 #define INT_32_BIT short
188 #define UINT_32_BIT unsigned short 188 #define UINT_32_BIT unsigned short
189 #define MAKE_32_BIT_UNSIGNED_CONSTANT(num) num##U 189 #define MAKE_32_BIT_UNSIGNED_CONSTANT(num) num##U
190 #elif /* Unable to find a 32-bit integral type! */ 190 #elif 1 /* Unable to find a 32-bit integral type! */
191 #error What kind of strange-ass system are you running on? 191 #error What kind of strange-ass system are you running on?
192 #endif 192 #endif
193 193
194 #if SIZEOF_LONG == 8 194 #if SIZEOF_LONG == 8
195 #define INT_64_BIT long 195 #define INT_64_BIT long
4053 enum check_allowed_operation 4053 enum check_allowed_operation
4054 { 4054 {
4055 OPERATION_DELETE_OBJECT, 4055 OPERATION_DELETE_OBJECT,
4056 OPERATION_CREATE_OBJECT, 4056 OPERATION_CREATE_OBJECT,
4057 OPERATION_MODIFY_BUFFER_TEXT, 4057 OPERATION_MODIFY_BUFFER_TEXT,
4058 OPERATION_MODIFY_OBJECT_PROPERTY, 4058 OPERATION_MODIFY_OBJECT_PROPERTY
4059 }; 4059 };
4060 4060
4061 int get_inhibit_flags (void); 4061 int get_inhibit_flags (void);
4062 void check_allowed_operation (int what, Lisp_Object obj, Lisp_Object prop); 4062 void check_allowed_operation (int what, Lisp_Object obj, Lisp_Object prop);
4063 void note_object_created (Lisp_Object obj); 4063 void note_object_created (Lisp_Object obj);