diff options
author | Andy Wingo <wingo@pobox.com> | 2025-04-30 11:30:52 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2025-04-30 11:30:52 +0200 |
commit | dd0e4557555c54b2e27834868933df5c0b08974b (patch) | |
tree | d56d0d6161e0b65e4c886f91206454993f16e144 /libguile/gc-malloc.c | |
parent | a13c30eeba03eca455e89be25c5fe3571c5a0ffb (diff) | |
download | guile-dd0e4557555c54b2e27834868933df5c0b08974b.tar.gz |
Remove scm_gc_realloc
Whippet may add a shrink interface, if it is needed.
* doc/ref/api-memory.texi (Memory Blocks): Remove some 1.8 references.
Remove discussion of scm_gc_malloc. Remove discussion of scm_gc_free.
* libguile/gc.h:
* libguile/gc-malloc.c (scm_gc_malloc): Remove.
Diffstat (limited to 'libguile/gc-malloc.c')
-rw-r--r-- | libguile/gc-malloc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libguile/gc-malloc.c b/libguile/gc-malloc.c index 3f2f23d76..7879212bf 100644 --- a/libguile/gc-malloc.c +++ b/libguile/gc-malloc.c @@ -173,13 +173,6 @@ scm_gc_calloc (size_t size, const char *what) return scm_gc_malloc (size, what); } -void * -scm_gc_realloc (void *mem, size_t old_size, size_t new_size, const char *what) -{ - /* FIXME: Remove me. */ - return GC_REALLOC (mem, new_size ? new_size : sizeof (void *)); -} - char * scm_gc_strndup (const char *str, size_t n, const char *what) { |