annotate src/inline.c @ 613:023b83f4e54b
[xemacs-hg @ 2001-06-10 10:42:16 by ben]
------ signal-code changes ------
data.c, device-tty.c, emacs.c, floatfns.c, linuxplay.c, nas.c,
process-unix.c, signal.c, sunplay.c, sysdep.c, syssignal.h:
use EMACS_SIGNAL everywhere instead of playing preprocessing
games with signal().
s\windowsnt.h, s\mingw32.h, syssignal.h:
Remove mswindows signal code from s+m headers and move to
syssignal.h as one of the five ways of signal handling,
instead of playing preprocessing games.
fileio.c, sysdep.c:
Rename sys_do_signal to qxe_reliable_signal.
signal.c, process-unix.c, profile.c:
Create set_timeout_signal(); use instead of just EMACS_SIGNAL
to establish a signal handler on a timeout signal; this does
special things under Cygwin.
nt.c:
Eliminate term_ntproc(), which is blank; used as a SIGABRT
handler, which was wrong anyway.
nt.c, win32.c:
Move signal code from nt.c to win32.c, since Cygwin needs it
too when dealing with timeout signals.
s\cygwin32.h:
Define CYGWIN_BROKEN_SIGNALS.
------ other changes ------
s\mingw32.h:
Fix problems with NOT_C_CODE being in the wrong place and
excluding defines needed when building Makefile.in.in.
filelock.c, mule-canna.c, mule-ccl.c, mule-ccl.h, ralloc.c,
unexalpha.c, unexapollo.c, unexcw.c, unexelfsgi.c, unexnt.c,
unexsni.c, s\aix3-1.h, s\bsd4-1.h, s\bsd4-2.h, s\bsd4-3.h, s\cxux.h,
s\cygwin32.h, s\dgux.h, s\dgux5-4r2.h, s\dgux5-4r3.h, s\dgux5-4r4.h,
s\ewsux5r4.h, s\gnu.h, s\hpux.h, s\iris3-5.h, s\iris3-6.h,
s\irix3-3.h, s\linux.h, s\mingw32.h, s\newsos5.h, s\nextstep.h,
s\ptx.h, s\riscix1-1.h, s\riscix1-2.h, s\rtu.h, s\sco4.h, s\sco5.h,
s\template.h, s\ultrix.h, s\umax.h, s\umips.h, s\unipl5-0.h,
s\unipl5-2.h, s\usg5-0.h, s\usg5-2-2.h, s\usg5-2.h, s\usg5-3.h,
s\usg5-4.h, s\windowsnt.h, s\xenix.h:
Rename 'GNU Emacs' to XEmacs in the copyright and comments.
nas.c:
Stylistic cleanup. Avoid preprocessing games with names such
as play_sound_file.
------ signal-code changes ------
data.c, device-tty.c, emacs.c, floatfns.c, linuxplay.c, nas.c,
process-unix.c, signal.c, sunplay.c, sysdep.c, syssignal.h:
use EMACS_SIGNAL everywhere instead of playing preprocessing
games with signal().
s\windowsnt.h, s\mingw32.h, syssignal.h:
Remove mswindows signal code from s+m headers and move to
syssignal.h as one of the five ways of signal handling,
instead of playing preprocessing games.
fileio.c, sysdep.c:
Rename sys_do_signal to qxe_reliable_signal.
signal.c, process-unix.c, profile.c:
Create set_timeout_signal(); use instead of just EMACS_SIGNAL
to establish a signal handler on a timeout signal; this does
special things under Cygwin.
nt.c:
Eliminate term_ntproc(), which is blank; used as a SIGABRT
handler, which was wrong anyway.
nt.c, win32.c:
Move signal code from nt.c to win32.c, since Cygwin needs it
too when dealing with timeout signals.
s\cygwin32.h:
Define CYGWIN_BROKEN_SIGNALS.
------ other changes ------
s\mingw32.h:
Fix problems with NOT_C_CODE being in the wrong place and
excluding defines needed when building Makefile.in.in.
filelock.c, mule-canna.c, mule-ccl.c, mule-ccl.h, ralloc.c,
unexalpha.c, unexapollo.c, unexcw.c, unexelfsgi.c, unexnt.c,
unexsni.c, s\aix3-1.h, s\bsd4-1.h, s\bsd4-2.h, s\bsd4-3.h, s\cxux.h,
s\cygwin32.h, s\dgux.h, s\dgux5-4r2.h, s\dgux5-4r3.h, s\dgux5-4r4.h,
s\ewsux5r4.h, s\gnu.h, s\hpux.h, s\iris3-5.h, s\iris3-6.h,
s\irix3-3.h, s\linux.h, s\mingw32.h, s\newsos5.h, s\nextstep.h,
s\ptx.h, s\riscix1-1.h, s\riscix1-2.h, s\rtu.h, s\sco4.h, s\sco5.h,
s\template.h, s\ultrix.h, s\umax.h, s\umips.h, s\unipl5-0.h,
s\unipl5-2.h, s\usg5-0.h, s\usg5-2-2.h, s\usg5-2.h, s\usg5-3.h,
s\usg5-4.h, s\windowsnt.h, s\xenix.h:
Rename 'GNU Emacs' to XEmacs in the copyright and comments.
nas.c:
Stylistic cleanup. Avoid preprocessing games with names such
as play_sound_file.
xemacs-faq.texi:
Update sections on Windows and MacOS availability.
alist.el, apropos.el, autoload.el, bytecomp.el, cl-compat.el, cl-extra.el, cl-macs.el, cl-seq.el, cl.el, cmdloop.el, cus-edit.el, derived.el, gpm.el, itimer.el, lisp-mode.el, shadow.el, version.el, wid-browse.el:
Rename 'GNU Emacs' to XEmacs in the copyright. Fix other
references to GNU Emacs that should be XEmacs or just Emacs.
files.el:
Fix warning.
simple.el:
transpose-line-up/down will now move the region up or down by
a line if active.
cvtmail.c, fakemail.c, gnuserv.c, gnuserv.h, gnuslib.c, make-msgfile.c, make-path.c, pop.c, pop.h, profile.c, tcp.c:
Rename 'GNU Emacs' to XEmacs in the copyright.
Fix comments in similar ways.
digest-doc.c, sorted-doc.c:
Fix program and author name to reflect XEmacs.
| author |
ben |
| date |
Sun, 10 Jun 2001 10:42:39 +0000 |
| parents |
0784d089fdc9 |
| children |
af57a77cbc92 |
| rev |
line source |
|
428
|
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
|
|
442
|
25 reason is that under GCC we declare our inline functions `inline
|
|
|
26 extern', which causes the inlined version to get used only for
|
|
428
|
27 inlining, and in other cases to generate an external reference to
|
|
|
28 the function. This is more efficient than declaring our inline
|
|
442
|
29 functions `inline static', which (in many cases) would cause a separate
|
|
428
|
30 version of the function to get inserted into every source file that
|
|
442
|
31 included the corresponding header file. See internals.texi.
|
|
428
|
32
|
|
|
33 Some compilers that recognize `inline' may not do the same
|
|
442
|
34 `inline extern' business, so on those we just do `inline static'.
|
|
428
|
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.
|
|
442
|
39 i.e. the output of ``grep -l -w 'DECLARE_LRECORD|INLINE_HEADER' *.h'' */
|
|
428
|
40
|
|
442
|
41 #define DONT_EXTERN_INLINE_HEADER_FUNCTIONS
|
|
428
|
42
|
|
|
43 #include <config.h>
|
|
|
44 #include "lisp.h"
|
|
|
45 #include "buffer.h"
|
|
|
46 #include "bytecode.h"
|
|
446
|
47 #include "casetab.h"
|
|
428
|
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"
|
|
442
|
57 #include "gui.h"
|
|
428
|
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
|
|
442
|
72 #ifdef HAVE_POSTGRESQL
|
|
|
73 #include "postgresql.h"
|
|
|
74 #endif
|
|
|
75
|
|
428
|
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
|
|
442
|
89 #ifdef HAVE_MS_WINDOWS
|
|
|
90 #include "console-msw.h"
|
|
|
91 #endif
|
|
|
92
|
|
462
|
93 #ifdef HAVE_GTK
|
|
|
94 #include "console-gtk.h"
|
|
|
95 #include "ui-gtk.h"
|
|
|
96 #endif
|
|
|
97
|
|
428
|
98 #ifdef FILE_CODING
|
|
|
99 #include "file-coding.h"
|
|
|
100 #endif
|
|
|
101
|
|
|
102 #ifdef TOOLTALK
|
|
|
103 #include "tooltalk.h"
|
|
|
104 #endif
|