Mercurial > hg > xemacs-beta
comparison src/device.h @ 404:2f8bb876ab1d r21-2-32
Import from CVS: tag r21-2-32
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:16:07 +0200 |
parents | 74fd4e045ea6 |
children | 501cfd01ee6d |
comparison
equal
deleted
inserted
replaced
403:9f011ab08d48 | 404:2f8bb876ab1d |
---|---|
236 } while (0) | 236 } while (0) |
237 | 237 |
238 #define DEVICE_TYPE_P(d, type) EQ (DEVICE_TYPE (d), Q##type) | 238 #define DEVICE_TYPE_P(d, type) EQ (DEVICE_TYPE (d), Q##type) |
239 | 239 |
240 #ifdef ERROR_CHECK_TYPECHECK | 240 #ifdef ERROR_CHECK_TYPECHECK |
241 INLINE struct device * | 241 INLINE_HEADER struct device * |
242 error_check_device_type (struct device *d, Lisp_Object sym); | 242 error_check_device_type (struct device *d, Lisp_Object sym); |
243 INLINE struct device * | 243 INLINE_HEADER struct device * |
244 error_check_device_type (struct device *d, Lisp_Object sym) | 244 error_check_device_type (struct device *d, Lisp_Object sym) |
245 { | 245 { |
246 assert (EQ (DEVICE_TYPE (d), sym)); | 246 assert (EQ (DEVICE_TYPE (d), sym)); |
247 return d; | 247 return d; |
248 } | 248 } |