mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 12:20:20 +02:00
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.
This commit is contained in:
parent
a13c30eeba
commit
dd0e455755
3 changed files with 7 additions and 32 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -128,8 +128,6 @@ SCM_API void *scm_gc_calloc (size_t size, const char *what)
|
|||
SCM_MALLOC;
|
||||
SCM_API void *scm_gc_malloc (size_t size, const char *what)
|
||||
SCM_MALLOC;
|
||||
SCM_API void *scm_gc_realloc (void *mem, size_t old_size,
|
||||
size_t new_size, const char *what);
|
||||
SCM_API char *scm_gc_strdup (const char *str, const char *what)
|
||||
SCM_MALLOC;
|
||||
SCM_API char *scm_gc_strndup (const char *str, size_t n, const char *what)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue