Thanks!

The replacement for scm_memory_error  seems to be scm_report_out_of_memory.

Maybe keep SCM_MEMORY_ERROR but have it expand to scm_report_out_of_memory instead?


-Dale



-----------------------------------------

From: "Ludovic Courtès"
To: dsmich@roadrunner.com
Cc: "Guile Devel"
Sent: Sunday February 9 2020 6:12:43PM
Subject: Re: MIssing scm_memory_error

Hi Dale,

dsmich@roadrunner.com skribis:

> In Guile 3.0 (and probably earlier) scm_memory_error has gone away,
> with no mention of a replacement in NEWS.

It would seem that ‘scm_memory_error’ was deprecated in 2014 in commit
c2247b782a9234bb9aedee5204c30daf1d01a510 and removed in 2017 in commit
c248ea10beb2afa4c113dbc6dc707bed5dbfc92e.

However, ‘SCM_MEMORY_ERROR’ in ‘error.h’ still refers to it, and so does
the manual.

Commit 1a3e316c32562aec2665a0233d46d5635f9c1245 fixes that by removing
all traces of ‘scm_memory_error’.

Thank you,
Ludo’.