update.
[chise/xemacs-chise.git.1] / src / inline.c
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 `inline
26    extern', 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 than declaring our inline
29    functions `inline static', 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.  See internals.texi.
32
33    Some compilers that recognize `inline' may not do the same
34    `inline extern' business, so on those we just do `inline static'.
35    */
36
37 /* Note to maintainers: This file contains a list of all header files
38    that use the INLINE macro, either directly, or by using DECLARE_LRECORD.
39    i.e. the output of ``grep -l -w 'DECLARE_LRECORD|INLINE_HEADER' *.h'' */
40
41 #define DONT_EXTERN_INLINE_HEADER_FUNCTIONS
42
43 #include <config.h>
44 #include "lisp.h"
45 #include "buffer.h"
46 #include "bytecode.h"
47 #include "casetab.h"
48 #include "chartab.h"
49 #include "console.h"
50 #include "device.h"
51 #include "elhash.h"
52 #include "events.h"
53 #include "extents.h"
54 #include "faces.h"
55 #include "frame.h"
56 #include "glyphs.h"
57 #include "gui.h"
58 #include "keymap.h"
59 #include "lstream.h"
60 #include "objects.h"
61 #include "opaque.h"
62 #include "process.h"
63 #include "rangetab.h"
64 #include "specifier.h"
65 #include "syntax.h"
66 #include "window.h"
67
68 #ifdef HAVE_LDAP
69 #include "eldap.h"
70 #endif
71
72 #ifdef HAVE_POSTGRESQL
73 #include "postgresql.h"
74 #endif
75
76 #ifdef HAVE_TOOLBARS
77 #include "toolbar.h"
78 #endif
79
80 #ifdef HAVE_DATABASE
81 #include "database.h"
82 #endif
83
84 #ifdef HAVE_X_WINDOWS
85 #include "glyphs-x.h"
86 #include "gui-x.h"
87 #endif
88
89 #ifdef HAVE_MS_WINDOWS
90 #include "console-msw.h"
91 #endif
92
93 #ifdef HAVE_GTK
94 #include "console-gtk.h"
95 #include "ui-gtk.h"
96 #endif
97
98 #ifdef FILE_CODING
99 #include "file-coding.h"
100 #endif
101
102 #ifdef TOOLTALK
103 #include "tooltalk.h"
104 #endif