diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-11-01 18:17:31 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-11-01 18:17:31 +0100 |
commit | 731dd0ce191bf4f3ba8fedfe0e08c0e67a966ce4 (patch) | |
tree | dd1ad47fdceebb013c42dc9b87c03c2fa5d79c0a /libguile/strings.h | |
parent | b4246e5b2235bd01a24a5069ed683fc3c0f6f18c (diff) | |
parent | 5f236208d0d864546e59afa0f5a11c9b3ba14b10 (diff) | |
download | guile-731dd0ce191bf4f3ba8fedfe0e08c0e67a966ce4.tar.gz |
Merge branch 'bdw-gc-static-alloc'
Conflicts:
acinclude.m4
libguile/__scm.h
libguile/bdw-gc.h
libguile/eval.c
Diffstat (limited to 'libguile/strings.h')
-rw-r--r-- | libguile/strings.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libguile/strings.h b/libguile/strings.h index e68bbe9ab..4e5f70098 100644 --- a/libguile/strings.h +++ b/libguile/strings.h @@ -142,6 +142,17 @@ SCM_API size_t scm_to_locale_stringbuf (SCM str, char *buf, size_t max_len); SCM_API SCM scm_makfromstrs (int argc, char **argv); + +/* internal constants */ + +/* Type tag for read-only strings. */ +#define scm_tc7_ro_string (scm_tc7_string + 0x200) + +/* Flags for shared and wide strings. */ +#define SCM_I_STRINGBUF_F_SHARED 0x100 +#define SCM_I_STRINGBUF_F_WIDE 0x400 + + /* internal accessor functions. Arguments must be valid. */ SCM_INTERNAL SCM scm_i_make_string (size_t len, char **datap); |