mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-28 16:00:22 +02:00
* Added function scm_str2string. Thanks to Martin Baulig.
This commit is contained in:
parent
6ddd941279
commit
b00418df09
6 changed files with 20 additions and 53 deletions
7
NEWS
7
NEWS
|
@ -12,6 +12,13 @@ Previously, comparing two variables with `equal?' would recursivly
|
||||||
compare their values. This is no longer done. Variables are now only
|
compare their values. This is no longer done. Variables are now only
|
||||||
`equal?' if they are `eq?'.
|
`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 since Guile 1.4:
|
||||||
|
|
||||||
* Changes to the distribution
|
* Changes to the distribution
|
||||||
|
|
51
THANKS
51
THANKS
|
@ -7,58 +7,7 @@ The Guile maintainer committee consists of
|
||||||
|
|
||||||
Contributors since the last release:
|
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:
|
For fixes or providing information which led to a fix:
|
||||||
|
|
||||||
Lars J. Aas
|
|
||||||
Martin Baulig
|
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
2
TODO
|
@ -76,8 +76,6 @@ that user-visible changes are reflected in NEWS.
|
||||||
|
|
||||||
- Start a new section of the NEWS file.
|
- Start a new section of the NEWS file.
|
||||||
|
|
||||||
- Start a new THANKS file.
|
|
||||||
|
|
||||||
|
|
||||||
* Before releasing 1.10.0:
|
* Before releasing 1.10.0:
|
||||||
|
|
||||||
|
|
|
@ -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>
|
2001-09-06 Marius Vollmer <mvo@zagadka.ping.de>
|
||||||
|
|
||||||
* gc.c (scm_done_free): Always subtract size from scm_mallocated
|
* gc.c (scm_done_free): Always subtract size from scm_mallocated
|
||||||
|
|
|
@ -162,6 +162,14 @@ scm_mem2string (const char *src, size_t len)
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SCM
|
||||||
|
scm_str2string (const char *src)
|
||||||
|
{
|
||||||
|
return scm_mem2string (src, strlen (src));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SCM
|
SCM
|
||||||
scm_makfrom0str (const char *src)
|
scm_makfrom0str (const char *src)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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_take_str (char *s, size_t len);
|
||||||
extern SCM scm_take0str (char *s);
|
extern SCM scm_take0str (char *s);
|
||||||
extern SCM scm_mem2string (const char *src, size_t len);
|
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 (const char *src);
|
||||||
extern SCM scm_makfrom0str_opt (const char *src);
|
extern SCM scm_makfrom0str_opt (const char *src);
|
||||||
extern SCM scm_allocate_string (size_t len);
|
extern SCM scm_allocate_string (size_t len);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue