Mercurial > hg > xemacs-beta
comparison src/inline.c @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | de805c49cfc1 |
children |
comparison
equal
deleted
inserted
replaced
411:12e008d41344 | 412:697ef44129c6 |
---|---|
20 | 20 |
21 /* Synched up with: Not in FSF. */ | 21 /* Synched up with: Not in FSF. */ |
22 | 22 |
23 /* The purpose of this file is so that there is at least one actual | 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 | 24 definition of each inline function. This is needed under GCC. The |
25 reason is that under GCC we declare our inline functions `inline | 25 reason is that under GCC we declare our inline functions `extern |
26 extern', which causes the inlined version to get used only for | 26 inline', which causes the inlined version to get used only for |
27 inlining, and in other cases to generate an external reference to | 27 inlining, and in other cases to generate an external reference to |
28 the function. This is more efficient than declaring our inline | 28 the function. This is more efficient than declaring our inline |
29 functions `inline static', which (in many cases) would cause a separate | 29 functions `static inline', which (in many cases) would cause a separate |
30 version of the function to get inserted into every source file that | 30 version of the function to get inserted into every source file that |
31 included the corresponding header file. See internals.texi. | 31 included the corresponding header file. |
32 | 32 |
33 Some compilers that recognize `inline' may not do the same | 33 Some compilers that recognize `inline' may not do the same |
34 `inline extern' business, so on those we just do `inline static'. | 34 `extern inline' business, so on those we just do `static inline'. |
35 */ | 35 */ |
36 | 36 |
37 /* Note to maintainers: This file contains a list of all header files | 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. | 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'' */ | 39 i.e. the output of ``grep -l -w 'DECLARE_LRECORD|INLINE' *.h'' */ |
40 | 40 |
41 #define DONT_EXTERN_INLINE_HEADER_FUNCTIONS | 41 #define DONT_EXTERN_INLINE_FUNCTIONS |
42 | 42 |
43 #include <config.h> | 43 #include <config.h> |
44 #include "lisp.h" | 44 #include "lisp.h" |
45 #include "buffer.h" | 45 #include "buffer.h" |
46 #include "bytecode.h" | 46 #include "bytecode.h" |
51 #include "events.h" | 51 #include "events.h" |
52 #include "extents.h" | 52 #include "extents.h" |
53 #include "faces.h" | 53 #include "faces.h" |
54 #include "frame.h" | 54 #include "frame.h" |
55 #include "glyphs.h" | 55 #include "glyphs.h" |
56 #include "gui.h" | |
57 #include "keymap.h" | 56 #include "keymap.h" |
58 #include "lstream.h" | 57 #include "lstream.h" |
59 #include "objects.h" | 58 #include "objects.h" |
60 #include "opaque.h" | 59 #include "opaque.h" |
61 #include "process.h" | 60 #include "process.h" |
64 #include "syntax.h" | 63 #include "syntax.h" |
65 #include "window.h" | 64 #include "window.h" |
66 | 65 |
67 #ifdef HAVE_LDAP | 66 #ifdef HAVE_LDAP |
68 #include "eldap.h" | 67 #include "eldap.h" |
69 #endif | |
70 | |
71 #ifdef HAVE_POSTGRESQL | |
72 #include "postgresql.h" | |
73 #endif | 68 #endif |
74 | 69 |
75 #ifdef HAVE_TOOLBARS | 70 #ifdef HAVE_TOOLBARS |
76 #include "toolbar.h" | 71 #include "toolbar.h" |
77 #endif | 72 #endif |