summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2004-08-12 17:52:49 +0000
committerMarius Vollmer <mvo@zagadka.de>2004-08-12 17:52:49 +0000
commitc41acab35c998e3597f4f2ebf537b66d70a7a644 (patch)
treeecf049a63ea5ba3fd1732f66d73d95f73b795a20
parent57d4d32fa36d733a99f92d6515d6abf6d960f641 (diff)
downloadguile-c41acab35c998e3597f4f2ebf537b66d70a7a644.tar.gz
*** empty log message ***
-rw-r--r--NEWS18
-rw-r--r--srfi/ChangeLog6
2 files changed, 22 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 4f8f9a901..10b133173 100644
--- a/NEWS
+++ b/NEWS
@@ -687,6 +687,12 @@ conventions.
These functions occupy the names that scm_round_number and
scm_truncate_number should have.
+** The functions scm_c_string2str and scm_c_substring2str have been
+ deprecated.
+
+Use scm_to_locale_stringbuf or similar instead, maybe together with
+scm_substring.
+
** SCM_CELL_WORD_LOC has been deprecated.
Use the new macro SCM_CELL_OBJECT_LOC instead, which return a pointer
@@ -729,7 +735,8 @@ prevent a potential memory leak:
scm_frame_unwind_handler (free, mem, SCM_F_WIND_EXPLICITELY);
/* MEM would leak if BAR throws an error.
- SCM_FRAME_UNWIND_HANDLER frees it nevertheless. */
+ SCM_FRAME_UNWIND_HANDLER frees it nevertheless.
+ */
bar ();
@@ -742,6 +749,12 @@ prevent a potential memory leak:
For full documentation, see the node "Frames" in the manual.
+** New function scm_frame_free
+
+This function calls 'free' on a given pointer when a frame is left.
+Thus the call to scm_frame_unwind_handler above could be replaced with
+simply scm_frame_free (mem).
+
** New way to block and unblock asyncs
In addition to scm_c_call_with_blocked_asyncs you can now also use
@@ -1225,7 +1238,8 @@ SCM_VALIDATE_RWSTRING, DIGITS, scm_small_istr2int, scm_istr2int,
scm_istr2flo, scm_istring2number, scm_istr2int, scm_istr2flo,
scm_istring2number, scm_vtable_index_vcell, scm_si_vcell, SCM_ECONSP,
SCM_NECONSP, SCM_GLOC_VAR, SCM_GLOC_VAL, SCM_GLOC_SET_VAL,
-SCM_GLOC_VAL_LOC, scm_make_gloc, scm_gloc_p, scm_tc16_variable
+SCM_GLOC_VAL_LOC, scm_make_gloc, scm_gloc_p, scm_tc16_variable,
+SCM_CHARS, SCM_LENGTH, SCM_SET_STRING_CHARS, SCM_SET_STRING_LENGTH.
** Deprecated definitions for debugging: scm_debug_mode, SCM_DEBUGGINGP
diff --git a/srfi/ChangeLog b/srfi/ChangeLog
index 03812704e..63c0a5cc6 100644
--- a/srfi/ChangeLog
+++ b/srfi/ChangeLog
@@ -1,3 +1,9 @@
+2004-08-12 Marius Vollmer <marius.vollmer@uni-dortmund.de>
+
+ * srfi-13.c (MY_VALIDATE_SUBSTRING_SPEC_COPY,
+ MY_VALIDATE_STRING_COPY): Modernized clones of the deprecated
+ validation macros. Replaced every use.
+
2004-08-05 Kevin Ryde <user42@zip.com.au>
* srfi-13.c (scm_string_any, scm_string_every): Enhance docstrings as