annotate etc/images/custom/down-pushed.xpm @ 105885:8103235103a7

Let integers use up 2 tags to give them one extra bit and double their range. * lisp.h (USE_2_TAGS_FOR_INTS): New macro. (LISP_INT_TAG, case_Lisp_Int, LISP_STRING_TAG, LISP_INT_TAG_P): New macros. (enum Lisp_Type): Use them. Give explicit values. (Lisp_Type_Limit): Remove. (XINT, XUINT, make_number) [!USE_LISP_UNION_TYPE]: (MOST_NEGATIVE_FIXNUM, MOST_POSITIVE_FIXNUM, INTMASK): Pay attention to USE_2_TAGS_FOR_INTS. (INTEGERP): Use LISP_INT_TAG_P. * fns.c (internal_equal): Simplify the default case. (sxhash): Use case_Lisp_Int. * data.c (wrong_type_argument): Don't check against Lisp_Type_Limit any more. (Ftype_of): Use case_Lisp_Int. (store_symval_forwarding): Take into account the fact that Ints can now have more than one tag. * buffer.c (syms_of_buffer): Use LISP_INT_TAG. buffer_slot_type_mismatch): * xfaces.c (face_attr_equal_p): * print.c (print_object): * alloc.c (mark_maybe_object, mark_object, survives_gc_p): Use case_Lisp_Int.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 06 Nov 2009 18:47:48 +0000
parents b0ca8a5b94ae
children 87681b1f74ce
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
94864
e2fb0c9c7a42 Initial revision.
Juri Linkov <juri@jurta.org>
parents:
diff changeset
1 /* XPM */
e2fb0c9c7a42 Initial revision.
Juri Linkov <juri@jurta.org>
parents:
diff changeset
2 static char * down_pushed_xpm[] = {
99675
b0ca8a5b94ae Decrease size to 8x8.
Chong Yidong <cyd@stupidchicken.com>
parents: 94864
diff changeset
3 "8 8 4 1",
94864
e2fb0c9c7a42 Initial revision.
Juri Linkov <juri@jurta.org>
parents:
diff changeset
4 " c none",
e2fb0c9c7a42 Initial revision.
Juri Linkov <juri@jurta.org>
parents:
diff changeset
5 ". c gray45",
e2fb0c9c7a42 Initial revision.
Juri Linkov <juri@jurta.org>
parents:
diff changeset
6 "X c gray90",
99675
b0ca8a5b94ae Decrease size to 8x8.
Chong Yidong <cyd@stupidchicken.com>
parents: 94864
diff changeset
7 "O c gray60",
b0ca8a5b94ae Decrease size to 8x8.
Chong Yidong <cyd@stupidchicken.com>
parents: 94864
diff changeset
8 "........",
b0ca8a5b94ae Decrease size to 8x8.
Chong Yidong <cyd@stupidchicken.com>
parents: 94864
diff changeset
9 ".OOOOOOX",
b0ca8a5b94ae Decrease size to 8x8.
Chong Yidong <cyd@stupidchicken.com>
parents: 94864
diff changeset
10 " .OOOOX ",
b0ca8a5b94ae Decrease size to 8x8.
Chong Yidong <cyd@stupidchicken.com>
parents: 94864
diff changeset
11 " .OOOOX ",
b0ca8a5b94ae Decrease size to 8x8.
Chong Yidong <cyd@stupidchicken.com>
parents: 94864
diff changeset
12 " .OOX ",
b0ca8a5b94ae Decrease size to 8x8.
Chong Yidong <cyd@stupidchicken.com>
parents: 94864
diff changeset
13 " .OOX ",
b0ca8a5b94ae Decrease size to 8x8.
Chong Yidong <cyd@stupidchicken.com>
parents: 94864
diff changeset
14 " OX ",
b0ca8a5b94ae Decrease size to 8x8.
Chong Yidong <cyd@stupidchicken.com>
parents: 94864
diff changeset
15 " OX "};