diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-02-11 14:47:16 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-02-11 14:47:16 +0100 |
commit | 41d470f0e96875e1e08a72da8478341b5fa70532 (patch) | |
tree | 0e3fc0bf14b9236d7ade9a9e423c465cd11b31dd /doc/ref/api-control.texi | |
parent | 1a3e316c32562aec2665a0233d46d5635f9c1245 (diff) | |
download | guile-41d470f0e96875e1e08a72da8478341b5fa70532.tar.gz |
Reintroduce 'SCM_MEMORY_ERROR' in terms of 'scm_report_out_of_memory'.
Suggested by Dale P. Smith <dsmich@roadrunner.com>.
* libguile/deprecated.h (SCM_MEMORY_ERROR): New macro.
* doc/ref/api-control.texi (Dynamic Wind): Use 'scm_report_out_of_memory'.
Diffstat (limited to 'doc/ref/api-control.texi')
-rw-r--r-- | doc/ref/api-control.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ref/api-control.texi b/doc/ref/api-control.texi index 25ae85bf3..b62c0d6fe 100644 --- a/doc/ref/api-control.texi +++ b/doc/ref/api-control.texi @@ -1669,7 +1669,7 @@ scm_foo (SCM s1, SCM s2) c_res = foo (c_s1, c_s2); if (c_res == NULL) - scm_misc_error ("foo", "out of memory!", SCM_EOL); + scm_report_out_of_memory (); scm_dynwind_end (); |