mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-02 23:50:47 +02:00
scm_is_string is a normal inline function
* libguile/strings.h (scm_is_string): Change to be static inline. * libguile/inline.c: No need to include strings.h
This commit is contained in:
parent
9fd851da65
commit
342a58ad36
2 changed files with 1 additions and 9 deletions
|
@ -28,4 +28,3 @@
|
|||
#include "chars.h"
|
||||
#include "pairs.h"
|
||||
#include "ports.h"
|
||||
#include "strings.h"
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
#include <libguile/gc.h>
|
||||
#include <libguile/error.h>
|
||||
#include "libguile/inline.h"
|
||||
#include <libguile/snarf.h>
|
||||
|
||||
|
||||
|
@ -105,7 +104,6 @@ SCM_INTERNAL SCM scm_nullstr;
|
|||
SCM_INTERNAL scm_t_string_failed_conversion_handler
|
||||
scm_i_default_string_failed_conversion_handler (void);
|
||||
|
||||
SCM_INLINE int scm_is_string (SCM x);
|
||||
SCM_API SCM scm_string_p (SCM x);
|
||||
SCM_API SCM scm_string (SCM chrs);
|
||||
SCM_API SCM scm_make_string (SCM k, SCM chr);
|
||||
|
@ -277,17 +275,12 @@ SCM_API SCM scm_sys_stringbuf_hist (void);
|
|||
|
||||
|
||||
|
||||
#if SCM_CAN_INLINE || defined SCM_INLINE_C_IMPLEMENTING_INLINES
|
||||
/* Either inlining, or being included from inline.c. */
|
||||
|
||||
SCM_INLINE_IMPLEMENTATION int
|
||||
static inline int
|
||||
scm_is_string (SCM x)
|
||||
{
|
||||
return SCM_HAS_TYP7 (x, scm_tc7_string);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue