comparison src/tooltalk.c @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children bcdc7deadc19
comparison
equal deleted inserted replaced
1:c0c6a60d29db 2:ac2d302a0011
977 Tt_mode n; 977 Tt_mode n;
978 978
979 CHECK_STRING (vtype); 979 CHECK_STRING (vtype);
980 CHECK_TOOLTALK_CONSTANT (mode); 980 CHECK_TOOLTALK_CONSTANT (mode);
981 981
982 n = tooltalk_constant_value (mode); 982 n = (Tt_mode) tooltalk_constant_value (mode);
983 983
984 if (!VALID_TOOLTALK_MESSAGEP (m)) 984 if (!VALID_TOOLTALK_MESSAGEP (m))
985 return Qnil; 985 return Qnil;
986 { 986 {
987 CONST char *vtype_ext; 987 CONST char *vtype_ext;
1193 Tt_mode n; 1193 Tt_mode n;
1194 1194
1195 CHECK_STRING (vtype); 1195 CHECK_STRING (vtype);
1196 CHECK_TOOLTALK_CONSTANT (mode); 1196 CHECK_TOOLTALK_CONSTANT (mode);
1197 1197
1198 n = tooltalk_constant_value (mode); 1198 n = (Tt_mode) tooltalk_constant_value (mode);
1199 1199
1200 if (!VALID_TOOLTALK_PATTERNP (p)) 1200 if (!VALID_TOOLTALK_PATTERNP (p))
1201 return Qnil; 1201 return Qnil;
1202
1202 { 1203 {
1203 CONST char *vtype_ext; 1204 CONST char *vtype_ext;
1204 1205
1205 GET_C_STRING_OS_DATA_ALLOCA (vtype, vtype_ext); 1206 GET_C_STRING_OS_DATA_ALLOCA (vtype, vtype_ext);
1206 if (NILP (value)) 1207 if (NILP (value))