1 /* Repository for inline functions
2 Copyright (C) 1995 Sun Microsystems, Inc.
4 This file is part of XEmacs.
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
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
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. */
21 /* Synched up with: Not in FSF. */
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.
33 Some compilers that recognize `inline' may not do the same
34 `inline extern' business, so on those we just do `inline static'.
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'' */
41 #define DONT_EXTERN_INLINE_HEADER_FUNCTIONS
64 #include "specifier.h"
72 #ifdef HAVE_POSTGRESQL
73 #include "postgresql.h"
89 #ifdef HAVE_MS_WINDOWS
90 #include "console-msw.h"
94 #include "console-gtk.h"
99 #include "file-coding.h"
103 #include "tooltalk.h"