1 /* Repository for inline functions
2 Copyright (C) 1995 Sun Microsystems, Inc.
4 This file is part of SXEmacs
6 SXEmacs is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
11 SXEmacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 /* Synched up with: Not in FSF. */
22 /* The purpose of this file is so that there is at least one actual
23 definition of each inline function. This is needed under GCC. The
24 reason is that under GCC we declare our inline functions `inline
25 extern', which causes the inlined version to get used only for
26 inlining, and in other cases to generate an external reference to
27 the function. This is more efficient than declaring our inline
28 functions `inline static', which (in many cases) would cause a separate
29 version of the function to get inserted into every source file that
30 included the corresponding header file. See internals.texi.
32 Some compilers that recognize `inline' may not do the same
33 `inline extern' business, so on those we just do `inline static'.
36 /* Note to maintainers: This file contains a list of all header files
37 that use the INLINE macro, either directly, or by using DECLARE_LRECORD.
38 i.e. the output of ``grep -l -w 'DECLARE_LRECORD|INLINE_HEADER' *.h'' */
40 #define DONT_EXTERN_INLINE_HEADER_FUNCTIONS
48 #include "ui/console.h"
49 #include "ui/device.h"
51 #include "events/events.h"
55 #include "ui/glyphs.h"
57 #include "ui/keymap.h"
59 #include "ui/objects.h"
63 #include "specifier.h"
65 #include "ui/window.h"
73 #ifdef HAVE_POSTGRESQL
74 #include "postgresql.h"
78 #include "ui/toolbar.h"
86 #include "ui/X11/glyphs-x.h"
87 #include "ui/X11/gui-x.h"
91 #include "ui/Gtk/console-gtk.h"
92 #include "ui/Gtk/ui-gtk.h"
96 #include "mule/file-coding.h"
103 #ifdef WITH_NUMBER_TYPES