Mercurial > hg > xemacs-beta
comparison src/device.c @ 70:131b0175ea99 r20-0b30
Import from CVS: tag r20-0b30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:02:59 +0200 |
parents | 859a2309aef8 |
children | 4be1180a9e89 |
comparison
equal
deleted
inserted
replaced
69:804d1389bcd6 | 70:131b0175ea99 |
---|---|
1 /* Generic device functions. | 1 /* Generic device functions. |
2 Copyright (C) 1994, 1995 Board of Trustees, University of Illinois. | 2 Copyright (C) 1994, 1995 Board of Trustees, University of Illinois. |
3 Copyright (C) 1994, 1995 Free Software Foundation, Inc. | 3 Copyright (C) 1994, 1995 Free Software Foundation, Inc. |
4 Copyright (C) 1995, 1996 Ben Wing | 4 Copyright (C) 1995, 1996 Ben Wing |
5 | 5 |
6 This file is part of XEmacs. | 6 This file is part of XEmacs. |
90 ((markobj) (d->pixel_to_glyph_cache.obj1)); | 90 ((markobj) (d->pixel_to_glyph_cache.obj1)); |
91 ((markobj) (d->pixel_to_glyph_cache.obj2)); | 91 ((markobj) (d->pixel_to_glyph_cache.obj2)); |
92 | 92 |
93 ((markobj) (d->color_instance_cache)); | 93 ((markobj) (d->color_instance_cache)); |
94 ((markobj) (d->font_instance_cache)); | 94 ((markobj) (d->font_instance_cache)); |
95 #ifdef MULE | |
96 ((markobj) (d->charset_font_cache)); | |
97 #endif | |
95 ((markobj) (d->image_instance_cache)); | 98 ((markobj) (d->image_instance_cache)); |
96 | 99 |
97 if (d->devmeths) | 100 if (d->devmeths) |
98 { | 101 { |
99 ((markobj) (d->devmeths->symbol)); | 102 ((markobj) (d->devmeths->symbol)); |
183 /* #### is 20 reasonable? */ | 186 /* #### is 20 reasonable? */ |
184 d->color_instance_cache = make_lisp_hashtable (20, HASHTABLE_KEY_WEAK, | 187 d->color_instance_cache = make_lisp_hashtable (20, HASHTABLE_KEY_WEAK, |
185 HASHTABLE_EQUAL); | 188 HASHTABLE_EQUAL); |
186 d->font_instance_cache = make_lisp_hashtable (20, HASHTABLE_KEY_WEAK, | 189 d->font_instance_cache = make_lisp_hashtable (20, HASHTABLE_KEY_WEAK, |
187 HASHTABLE_EQUAL); | 190 HASHTABLE_EQUAL); |
191 #ifdef MULE | |
192 /* Note that the following table is bi-level. */ | |
193 d->charset_font_cache = make_lisp_hashtable (20, HASHTABLE_NONWEAK, | |
194 HASHTABLE_EQ); | |
195 #endif | |
188 /* | 196 /* |
189 Note that the image instance cache is actually bi-level. | 197 Note that the image instance cache is actually bi-level. |
190 See device.h. We use a low number here because most of the | 198 See device.h. We use a low number here because most of the |
191 time there aren't very many diferent masks that will be used. | 199 time there aren't very many diferent masks that will be used. |
192 */ | 200 */ |