Mercurial > hg > xemacs-beta
comparison src/objects-tty.c @ 2515:de9952d2ed18
[xemacs-hg @ 2005-01-26 10:22:19 by ben]
Hash table cleanups, part 1 of 2
emacs-marshals.c, hash.c, hash.h, ui-gtk.c: Clean up and generalize creation of string hash tables.
ui-gtk.c, elhash.h, gccache-gtk.c, glyphs-gtk.c, lrecord.h, marker.c, objects-gtk.c, objects-msw.c, objects-tty.c, objects-x.c, objects.c, opaque.c, rangetab.c, specifier.c, specifier.h, xgccache.c: Use Hashcode rather than unsigned long.
author | ben |
---|---|
date | Wed, 26 Jan 2005 10:22:29 +0000 |
parents | ecf1ebac70d8 |
children | 491f8cf78a9c |
comparison
equal
deleted
inserted
replaced
2514:b49d38bc659d | 2515:de9952d2ed18 |
---|---|
211 { | 211 { |
212 return (EQ (COLOR_INSTANCE_TTY_SYMBOL (c1), | 212 return (EQ (COLOR_INSTANCE_TTY_SYMBOL (c1), |
213 COLOR_INSTANCE_TTY_SYMBOL (c2))); | 213 COLOR_INSTANCE_TTY_SYMBOL (c2))); |
214 } | 214 } |
215 | 215 |
216 static unsigned long | 216 static Hashcode |
217 tty_color_instance_hash (Lisp_Color_Instance *c, int UNUSED (depth)) | 217 tty_color_instance_hash (Lisp_Color_Instance *c, int UNUSED (depth)) |
218 { | 218 { |
219 return LISP_HASH (COLOR_INSTANCE_TTY_SYMBOL (c)); | 219 return LISP_HASH (COLOR_INSTANCE_TTY_SYMBOL (c)); |
220 } | 220 } |
221 | 221 |