Mercurial > hg > xemacs-beta
comparison src/objects-msw.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 | 3d8143fc88e1 |
children | 491f8cf78a9c |
comparison
equal
deleted
inserted
replaced
2514:b49d38bc659d | 2515:de9952d2ed18 |
---|---|
1388 { | 1388 { |
1389 return (COLOR_INSTANCE_MSWINDOWS_COLOR (c1) == | 1389 return (COLOR_INSTANCE_MSWINDOWS_COLOR (c1) == |
1390 COLOR_INSTANCE_MSWINDOWS_COLOR (c2)); | 1390 COLOR_INSTANCE_MSWINDOWS_COLOR (c2)); |
1391 } | 1391 } |
1392 | 1392 |
1393 static unsigned long | 1393 static Hashcode |
1394 mswindows_color_instance_hash (Lisp_Color_Instance *c, int UNUSED (depth)) | 1394 mswindows_color_instance_hash (Lisp_Color_Instance *c, int UNUSED (depth)) |
1395 { | 1395 { |
1396 return (unsigned long) COLOR_INSTANCE_MSWINDOWS_COLOR (c); | 1396 return (unsigned long) COLOR_INSTANCE_MSWINDOWS_COLOR (c); |
1397 } | 1397 } |
1398 | 1398 |