import -ko -b 1.1.3 XEmacs XEmacs-21_2 r21-2-35
[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 "chartab.h"
48 #include "console.h"
49 #include "device.h"
50 #include "elhash.h"
51 #include "events.h"
52 #include "extents.h"
53 #include "faces.h"
54 #include "frame.h"
55 #include "glyphs.h"
56 #include "gui.h"
57 #include "keymap.h"
58 #include "lstream.h"
59 #include "objects.h"
60 #include "opaque.h"
61 #include "process.h"
62 #include "rangetab.h"
63 #include "specifier.h"
64 #include "syntax.h"
65 #include "window.h"
66
67 #ifdef HAVE_LDAP
68 #include "eldap.h"
69 #endif
70
71 #ifdef HAVE_POSTGRESQL
72 #include "postgresql.h"
73 #endif
74
75 #ifdef HAVE_TOOLBARS
76 #include "toolbar.h"
77 #endif
78
79 #ifdef HAVE_DATABASE
80 #include "database.h"
81 #endif
82
83 #ifdef HAVE_X_WINDOWS
84 #include "glyphs-x.h"
85 #include "gui-x.h"
86 #endif
87
88 #ifdef FILE_CODING
89 #include "file-coding.h"
90 #endif
91
92 #ifdef TOOLTALK
93 #include "tooltalk.h"
94 #endif