summaryrefslogtreecommitdiff
path: root/libguile/strings.h
diff options
context:
space:
mode:
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2000-11-23 13:54:49 +0000
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2000-11-23 13:54:49 +0000
commit6a0476fd113e72d94277b7fd59a72db9bff66b28 (patch)
tree5472165f476a193bf8236790e535e4180a8e5b84 /libguile/strings.h
parent9377887701ecd64970fb8c65929ab2e8516ca929 (diff)
downloadguile-6a0476fd113e72d94277b7fd59a72db9bff66b28.tar.gz
* SCM_SETCHARS deprecated.
Diffstat (limited to 'libguile/strings.h')
-rw-r--r--libguile/strings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libguile/strings.h b/libguile/strings.h
index b19707af9..53a6e2ba9 100644
--- a/libguile/strings.h
+++ b/libguile/strings.h
@@ -56,6 +56,7 @@
#define SCM_STRING_UCHARS(x) ((unsigned char *) (SCM_CELL_WORD_1 (x)))
#define SCM_STRING_CHARS(x) ((char *) (SCM_CELL_WORD_1 (x)))
#endif
+#define SCM_SET_STRING_CHARS(s, c) (SCM_SET_CELL_WORD_1 ((s), (c)))
#define SCM_STRING_LENGTH(x) (((unsigned long) SCM_CELL_WORD_0 (x)) >> 8)
#define SCM_SET_STRING_LENGTH(s, l) (SCM_SET_CELL_WORD_0 ((s), ((l) << 8) + scm_tc7_string))