Mercurial > hg > xemacs-beta
annotate src/fontcolor-gtk.h @ 5313:5ed261fd2bd9
Unrool a load-time loop at macro expansion time, cl-macs.el
2010-12-29 Aidan Kehoe <kehoea@parhasard.net>
* cl-macs.el (inline-side-effect-free-compiler-macros):
Unroll a loop here at macro-expansion time, so these compiler
macros are compiled. Use #'eql instead of #'eq in a couple of
places for better style.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 29 Dec 2010 23:43:10 +0000 |
parents | 8b2f75cecb89 |
children | 308d34e9f07d |
rev | line source |
---|---|
462 | 1 /* Gtk-specific Lisp objects. |
2 Copyright (C) 1993, 1994 Free Software Foundation, Inc. | |
3 Copyright (C) 1995 Board of Trustees, University of Illinois. | |
4 Copyright (C) 1995, 1996 Ben Wing. | |
5 | |
6 This file is part of XEmacs. | |
7 | |
8 XEmacs is free software; you can redistribute it and/or modify it | |
9 under the terms of the GNU General Public License as published by the | |
10 Free Software Foundation; either version 2, or (at your option) any | |
11 later version. | |
12 | |
13 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
19 along with XEmacs; see the file COPYING. If not, write to | |
20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
21 Boston, MA 02111-1307, USA. */ | |
22 | |
23 /* Synched up with: Not in FSF. */ | |
24 /* Gtk version by William Perry */ | |
25 | |
26 #ifndef _XEMACS_OBJECTS_GTK_H_ | |
27 #define _XEMACS_OBJECTS_GTK_H_ | |
28 | |
5176
8b2f75cecb89
rename objects* (.c, .h and .el files) to fontcolor*
Ben Wing <ben@xemacs.org>
parents:
872
diff
changeset
|
29 #include "fontcolor.h" |
462 | 30 |
31 #ifdef HAVE_GTK | |
32 | |
33 /***************************************************************************** | |
34 Color-Instance | |
35 ****************************************************************************/ | |
36 | |
37 int allocate_nearest_color (GdkColormap *screen_colormap, GdkVisual *visual, | |
38 GdkColor *color_def); | |
867 | 39 int gtk_parse_nearest_color (struct device *d, GdkColor *color, Ibyte *name, |
578 | 40 Bytecount len, Error_Behavior errb); |
462 | 41 |
42 /***************************************************************************** | |
43 Font-Instance | |
44 ****************************************************************************/ | |
45 | |
46 #endif /* HAVE_GTK */ | |
47 #endif /* _XEMACS_OBJECTS_GTK_H_ */ |