1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

* Added function scm_str2string. Thanks to Martin Baulig.

This commit is contained in:
Dirk Herrmann 2001-09-12 19:53:57 +00:00
parent 6ddd941279
commit b00418df09
6 changed files with 20 additions and 53 deletions

7
NEWS
View file

@ -12,6 +12,13 @@ Previously, comparing two variables with `equal?' would recursivly
compare their values. This is no longer done. Variables are now only
`equal?' if they are `eq?'.
* Changes to the C interface
** New function: scm_str2string
This function creates a scheme string from a 0-terminated C string. The input
string is copied.
Changes since Guile 1.4:
* Changes to the distribution

51
THANKS
View file

@ -7,58 +7,7 @@ The Guile maintainer committee consists of
Contributors since the last release:
Jost Boekemeier
Rob Browning
Will Fitzgerald
Martin Grabmueller
Dirk Herrmann
Gary Houston
Neil Jerram
Matthias Koeppe
Michael Livshin
Thien-Thi Nguyen
Keisuke Nishida
Niibe Yutaka
For fixes or providing information which led to a fix:
Lars J. Aas
Martin Baulig
Ian Bicking
Quetzalcoatl Bradley
George Caswell
Albert Chin
Chris Cramer
I. N. Golubev
Eric Hanchrow
Utz-Uwe Haus
Karl M. Hegbloom
Anders Holst
Stefan Jahn
Steven G. Johnson
Richard Kim
Alexander Klimov
Brad Knotwell
Bruce Korb
Matthias Köppe
Ralf Mattes
Shuji Narazaki
Han-Wen Nienhuys
Bertrand Petit
David Pirotte
Sergey Poznyakoff
Ariel Rios
Julian Satchell
Bill Schottstaedt
Alex Shinn
Miroslav Silovic
Daniel Skarda
Dale P. Smith
Masao Uebayashi
Bernard Urban
Jacques A. Vidrine.
Brett Viren
Thomas Wawrzinek
Florian Weimer
Keith Wright

2
TODO
View file

@ -76,8 +76,6 @@ that user-visible changes are reflected in NEWS.
- Start a new section of the NEWS file.
- Start a new THANKS file.
* Before releasing 1.10.0:

View file

@ -1,3 +1,7 @@
2001-09-12 Martin Baulig <martin@home-of-linux.org>
* strings.[ch] (scm_str2string): New function.
2001-09-06 Marius Vollmer <mvo@zagadka.ping.de>
* gc.c (scm_done_free): Always subtract size from scm_mallocated

View file

@ -162,6 +162,14 @@ scm_mem2string (const char *src, size_t len)
return s;
}
SCM
scm_str2string (const char *src)
{
return scm_mem2string (src, strlen (src));
}
SCM
scm_makfrom0str (const char *src)
{

View file

@ -66,6 +66,7 @@ extern SCM scm_makfromstrs (int argc, char **argv);
extern SCM scm_take_str (char *s, size_t len);
extern SCM scm_take0str (char *s);
extern SCM scm_mem2string (const char *src, size_t len);
extern SCM scm_str2string (const char *src);
extern SCM scm_makfrom0str (const char *src);
extern SCM scm_makfrom0str_opt (const char *src);
extern SCM scm_allocate_string (size_t len);