[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 69/86: Move SCM_C_INLINE_KEYWORD definition to inline.h
From: |
Andy Wingo |
Subject: |
[Guile-commits] 69/86: Move SCM_C_INLINE_KEYWORD definition to inline.h |
Date: |
Wed, 20 Jun 2018 14:09:43 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guile.
commit 2b4ecafab8cb0d57b2a82ac650274b7b7ae7db83
Author: Andy Wingo <address@hidden>
Date: Wed Jun 20 14:40:52 2018 +0200
Move SCM_C_INLINE_KEYWORD definition to inline.h
* libguile/__scm.h:
* libguile/inline.h (SCM_C_INLINE_KEYWORD): Move this definition here.
---
libguile/__scm.h | 11 -----------
libguile/inline.h | 11 +++++++++++
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/libguile/__scm.h b/libguile/__scm.h
index 2e45a31..eae1afb 100644
--- a/libguile/__scm.h
+++ b/libguile/__scm.h
@@ -388,17 +388,6 @@ typedef long SCM_STACKITEM;
-/* Define SCM_C_INLINE_KEYWORD so that it can be used as a replacement
- for the "inline" keyword, expanding to nothing when "inline" is not
- available.
-*/
-
-#ifdef SCM_C_INLINE
-#define SCM_C_INLINE_KEYWORD SCM_C_INLINE
-#else
-#define SCM_C_INLINE_KEYWORD
-#endif
-
/* Handling thread-local storage (TLS). */
#ifdef SCM_HAVE_THREAD_STORAGE_CLASS
diff --git a/libguile/inline.h b/libguile/inline.h
index 4c17813..7bafb06 100644
--- a/libguile/inline.h
+++ b/libguile/inline.h
@@ -27,6 +27,17 @@
#include "libguile/__scm.h"
+/* Define SCM_C_INLINE_KEYWORD so that it can be used as a replacement
+ for the "inline" keyword, expanding to nothing when "inline" is not
+ available.
+*/
+
+#ifdef SCM_C_INLINE
+#define SCM_C_INLINE_KEYWORD SCM_C_INLINE
+#else
+#define SCM_C_INLINE_KEYWORD
+#endif
+
/* We would like gnu89 extern inline semantics, not C99 extern inline
semantics, so that we can be sure to avoid reifying definitions of
inline functions in all compilation units, which is a possibility at
- [Guile-commits] 58/86: Define scm_t_wchar in one place, (continued)
- [Guile-commits] 58/86: Define scm_t_wchar in one place, Andy Wingo, 2018/06/20
- [Guile-commits] 54/86: Simplify SCM_IMMUTABLE_CELL macros, Andy Wingo, 2018/06/20
- [Guile-commits] 27/86: Devolve pairs.h, Andy Wingo, 2018/06/20
- [Guile-commits] 53/86: Devolve smob snarfers, Andy Wingo, 2018/06/20
- [Guile-commits] 57/86: Shuffle around inline C function implementation, Andy Wingo, 2018/06/20
- [Guile-commits] 62/86: Devolve foreign.h from _scm.h, Andy Wingo, 2018/06/20
- [Guile-commits] 63/86: Devolve programs.h from _scm.h., Andy Wingo, 2018/06/20
- [Guile-commits] 22/86: Devolve more validate macros, Andy Wingo, 2018/06/20
- [Guile-commits] 23/86: Remove includes of validate.h., Andy Wingo, 2018/06/20
- [Guile-commits] 56/86: Devolve variable.h from _scm.h., Andy Wingo, 2018/06/20
- [Guile-commits] 69/86: Move SCM_C_INLINE_KEYWORD definition to inline.h,
Andy Wingo <=
- [Guile-commits] 70/86: Fix include in test-ffi-lib, Andy Wingo, 2018/06/20
- [Guile-commits] 68/86: Remove unneeded memmove.c and strerror.c files, Andy Wingo, 2018/06/20
- [Guile-commits] 64/86: Devolve strings.h, Andy Wingo, 2018/06/20
- [Guile-commits] 72/86: Fix missing includes in tests., Andy Wingo, 2018/06/20
- [Guile-commits] 60/86: Remove modules.h from _scm.h., Andy Wingo, 2018/06/20
- [Guile-commits] 75/86: Move SCM_TICK definition to __scm.h., Andy Wingo, 2018/06/20
- [Guile-commits] 74/86: Remove crufty support for 16-bit architectures., Andy Wingo, 2018/06/20
- [Guile-commits] 73/86: Deprecate pre-stdint.h limit macros, Andy Wingo, 2018/06/20
- [Guile-commits] 80/86: Rationalize guile-readline includes, Andy Wingo, 2018/06/20
- [Guile-commits] 61/86: Devolve symbols.h from _scm.h, Andy Wingo, 2018/06/20