/[emacs]/emacs/src/category.h
ViewVC logotype

Diff of /emacs/src/category.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by handa, Wed Dec 15 00:02:55 1999 UTC revision 1.14 by pj, Fri Nov 2 20:12:54 2001 UTC
# Line 53  Boston, MA 02111-1307, USA.  */ Line 53  Boston, MA 02111-1307, USA.  */
53  #define CATEGORYP(x) \  #define CATEGORYP(x) \
54    (INTEGERP ((x)) && XFASTINT ((x)) >= 0x20 && XFASTINT ((x)) <= 0x7E)    (INTEGERP ((x)) && XFASTINT ((x)) >= 0x20 && XFASTINT ((x)) <= 0x7E)
55    
56  #define CHECK_CATEGORY(x, i)                                            \  #define CHECK_CATEGORY(x)                                               \
57    do {                                                                  \    do {                                                                  \
58      if (!CATEGORYP ((x))) x = wrong_type_argument (Qcategoryp, (x));    \      if (!CATEGORYP ((x))) x = wrong_type_argument (Qcategoryp, (x));    \
59    } while (0)    } while (0)
# Line 71  Boston, MA 02111-1307, USA.  */ Line 71  Boston, MA 02111-1307, USA.  */
71  #define SET_CATEGORY_SET(category_set, category, val) \  #define SET_CATEGORY_SET(category_set, category, val) \
72    (Faset (category_set, category, val))    (Faset (category_set, category, val))
73    
74  #define CHECK_CATEGORY_SET(x, i)                                           \  #define CHECK_CATEGORY_SET(x)                                      \
75    do {                                                                     \    do {                                                                     \
76      if (!CATEGORY_SET_P ((x))) x = wrong_type_argument (Qcategorysetp, (x)); \      if (!CATEGORY_SET_P ((x))) x = wrong_type_argument (Qcategorysetp, (x)); \
77    } while (0)    } while (0)

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26