Mercurial > hg > xemacs-beta
comparison src/inline.c @ 118:7d55a9ba150c r20-1b11
Import from CVS: tag r20-1b11
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:24:17 +0200 |
parents | |
children | 538048ae2ab8 |
comparison
equal
deleted
inserted
replaced
117:578fd4947a72 | 118:7d55a9ba150c |
---|---|
1 /* Repository for inline functions | |
2 Copyright (C) 1995 Sun Microsystems, Inc. | |
3 | |
4 This file is part of XEmacs. | |
5 | |
6 XEmacs is free software; you can redistribute it and/or modify it | |
7 under the terms of the GNU General Public License as published by the | |
8 Free Software Foundation; either version 2, or (at your option) any | |
9 later version. | |
10 | |
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
17 along with XEmacs; see the file COPYING. If not, write to | |
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
19 Boston, MA 02111-1307, USA. */ | |
20 | |
21 /* Synched up with: Not in FSF. */ | |
22 | |
23 /* The purpose of this file is so that there is at least one actual | |
24 definition of each inline function. This is needed under GCC. The | |
25 reason is that under GCC we declare our inline functions `extern | |
26 inline', which causes the inlined version to get used only for | |
27 inlining, and in other cases to generate an external reference to | |
28 the function. This is more efficient that declaring out inline | |
29 functions `static inline', which (in many cases) would cause a separate | |
30 version of the function to get inserted into every source file that | |
31 included the corresponding header file. | |
32 | |
33 Some compilers that recognize `inline' may not do the same | |
34 `extern inline' business, so on those we just do `static inline'. | |
35 */ | |
36 | |
37 #define DONT_EXTERN_INLINE_FUNCTIONS | |
38 | |
39 #include <config.h> | |
40 #include "lisp.h" | |
41 #include "buffer.h" | |
42 #include "bytecode.h" | |
43 #include "console.h" | |
44 #include "device.h" | |
45 #include "events.h" | |
46 #include "elhash.h" | |
47 #include "extents.h" | |
48 #include "faces.h" | |
49 #include "frame.h" | |
50 #include "glyphs.h" | |
51 #include "keymap.h" | |
52 #include "lstream.h" | |
53 #include "objects.h" | |
54 #include "opaque.h" | |
55 #include "process.h" | |
56 #include "specifier.h" | |
57 #include "syntax.h" | |
58 #include "toolbar.h" | |
59 #include "window.h" | |
60 | |
61 #ifdef HAVE_DATABASE | |
62 #include "database.h" | |
63 #endif | |
64 | |
65 #ifdef HAVE_X_WINDOWS | |
66 #include "console-x.h" | |
67 #include "glyphs-x.h" | |
68 #include "gui-x.h" | |
69 #endif | |
70 | |
71 #ifdef MULE | |
72 #include "mule-coding.h" | |
73 #endif | |
74 | |
75 #ifdef TOOLTALK | |
76 #include <tt_c.h> | |
77 #include "tooltalk.h" | |
78 #endif |